Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009431/0.0009432, allocations: 195.3 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 226.5 MB / 244.7 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007057/0.0007058, allocations: 95.92 kB / 296.7 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001976/0.0001977, allocations: 4 kB / 356.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1733, allocations: 51.3 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003149/0.1764, allocations: 4.92 MB / 413 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1779, allocations: 1.324 MB / 414.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.1782, allocations: 15.94 kB / 414.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1784, allocations: 131 kB / 414.5 MB, free: 21.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.1789, allocations: 341.3 kB / 414.8 MB, free: 20.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1792, allocations: 195.7 kB / 415 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007184/0.1799, allocations: 1.265 MB / 416.3 MB, free: 19.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.1803, allocations: 365.6 kB / 416.7 MB, free: 19.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.1806, allocations: 454.3 kB / 417.1 MB, free: 18.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.1809, allocations: 0.5174 MB / 417.6 MB, free: 18.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.181, allocations: 76 kB / 417.7 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1812, allocations: 80 kB / 417.8 MB, free: 18.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1813, allocations: 207.2 kB / 418 MB, free: 17.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.1816, allocations: 0.5656 MB / 418.5 MB, free: 17.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.1822, allocations: 1.024 MB / 419.6 MB, free: 16.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1822, allocations: 0 / 419.6 MB, free: 16.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1822, allocations: 0 / 419.6 MB, free: 16.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1822, allocations: 4 kB / 419.6 MB, free: 16.21 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001699/0.1839, allocations: 1.294 MB / 420.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1839, allocations: 8.031 kB / 420.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.1841, allocations: 140.5 kB / 421 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1842, allocations: 131.5 kB / 421.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006082/0.1849, allocations: 0.6304 MB / 421.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.185, allocations: 159.6 kB / 421.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.1851, allocations: 72.38 kB / 422 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.1863, allocations: 0.9899 MB / 423 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/0.1863, allocations: 3.938 kB / 423 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.1864, allocations: 36 kB / 423 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.1864, allocations: 20 kB / 423 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1875, allocations: 0.6442 MB / 423.7 MB, free: 11.83 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.1905, allocations: 2.671 MB / 426.4 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.1927, allocations: 0.8844 MB / 427.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/0.1933, allocations: 356.6 kB / 427.6 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/0.1933, allocations: 16.64 kB / 427.6 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1934, allocations: 47.22 kB / 427.7 MB, free: 7.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.974e-06/0.1934, allocations: 3.938 kB / 427.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002092/0.1955, allocations: 1.44 MB / 429.1 MB, free: 6.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.1956, allocations: 0.9489 MB / 430 MB, free: 4.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.1963, allocations: 0.7803 MB / 430.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.1964, allocations: 45.7 kB / 430.9 MB, free: 4.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.1966, allocations: 412.6 kB / 431.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.1967, allocations: 252.2 kB / 431.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.1967, allocations: 20 kB / 431.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.1968, allocations: 341.9 kB / 431.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.1973, allocations: 261.9 kB / 432.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.1979, allocations: 0.5919 MB / 432.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009946/0.1989, allocations: 0.6834 MB / 433.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1989, allocations: 0 / 433.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001352/0.2003, allocations: 0.9703 MB / 434.4 MB, free: 396 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.2003, allocations: 89.14 kB / 434.5 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2003, allocations: 4 kB / 434.5 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.2006, allocations: 128.2 kB / 434.6 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.2013, allocations: 159.8 kB / 434.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/0.2063, allocations: 6.778 MB / 441.5 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009456/0.2073, allocations: 111.3 kB / 441.6 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.2073, allocations: 39.92 kB / 441.7 MB, free: 8.383 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003766/0.2077, allocations: 249.5 kB / 441.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.2079, allocations: 98.88 kB / 442 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.208, allocations: 100.9 kB / 442.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2081, allocations: 8 kB / 442.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2081, allocations: 0 / 442.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/0.2094, allocations: 0.9973 MB / 443.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.2121, allocations: 1.777 MB / 444.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2122, allocations: 4 kB / 444.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.2129, allocations: 163.8 kB / 445.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.054e-05/0.213, allocations: 24.84 kB / 445.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.2131, allocations: 12 kB / 445.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008736/0.2139, allocations: 1.312 MB / 446.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.214, allocations: 3.938 kB / 446.4 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.2159, allocations: 1.103 MB / 447.5 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.2163, allocations: 263.7 kB / 447.8 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.2164, allocations: 16 kB / 447.8 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.2171, allocations: 55.95 kB / 447.8 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2172, allocations: 44.59 kB / 447.9 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.2172, allocations: 16 kB / 447.9 MB, free: 1.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006456/0.2179, allocations: 0.542 MB / 448.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2179, allocations: 0 / 448.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007401/0.2186, allocations: 299.5 kB / 448.7 MB, free: 0.957 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002274/0.2209, allocations: 1.683 MB / 450.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.223, allocations: 1.401 MB / 451.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.223, allocations: 7.938 kB / 451.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.2237, allocations: 434.6 kB / 452.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.2248, allocations: 259.2 kB / 452.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008784/0.2336, allocations: 5.587 MB / 458.1 MB, free: 7.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.2341, allocations: 0.9836 MB / 459.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.2347, allocations: 363.3 kB / 459.4 MB, free: 5.863 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2347, allocations: 0 / 459.4 MB, free: 5.863 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.584/4.819, allocations: 25.64 MB / 485.1 MB, free: 12.15 MB / 362.7 MB (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches