Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009226/0.0009225, allocations: 94.2 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009277/0.0009278, allocations: 184.3 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002735, allocations: 5.469 kB / 300.8 MB, free: 6.496 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 50.42 MB / 351.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005882/0.1271, allocations: 4.432 MB / 355.7 MB, free: 7.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.1302, allocations: 1.372 MB / 357 MB, free: 5.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005203/0.1308, allocations: 8 kB / 357 MB, free: 5.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.1312, allocations: 123 kB / 357.2 MB, free: 5.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008864/0.1321, allocations: 414.8 kB / 357.6 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.1326, allocations: 195.7 kB / 357.7 MB, free: 5.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.134, allocations: 0.9215 MB / 358.7 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.1345, allocations: 323 kB / 359 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00069/0.1352, allocations: 434.6 kB / 359.4 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005715/0.1357, allocations: 0.4901 MB / 359.9 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1359, allocations: 68 kB / 360 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.136, allocations: 72 kB / 360 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.1362, allocations: 187.3 kB / 360.2 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.1365, allocations: 241.1 kB / 360.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000939/0.1374, allocations: 0.9659 MB / 361.4 MB, free: 1.531 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1374, allocations: 0 / 361.4 MB, free: 1.531 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1374, allocations: 4 kB / 361.4 MB, free: 1.527 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.1374, allocations: 0 / 361.4 MB, free: 1.527 MB / 286.1 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.002533/0.14, allocations: 1.29 MB / 362.7 MB, free: 172 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.14, allocations: 12.03 kB / 362.7 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/0.1403, allocations: 132.4 kB / 362.9 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.1405, allocations: 126.8 kB / 363 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.1415, allocations: 0.5516 MB / 363.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.1417, allocations: 159.1 kB / 363.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.1419, allocations: 75.91 kB / 363.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.1434, allocations: 0.9781 MB / 364.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.1434, allocations: 0 / 364.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/0.1435, allocations: 36 kB / 364.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.1435, allocations: 16 kB / 364.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.1448, allocations: 0.6519 MB / 365.4 MB, free: 13.25 MB / 302.1 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.004216/0.1491, allocations: 2.609 MB / 368.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.1518, allocations: 0.914 MB / 369 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.94e-05/0.1518, allocations: 20.64 kB / 369 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.1519, allocations: 47.2 kB / 369 MB, free: 9.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.186e-06/0.1519, allocations: 0 / 369 MB, free: 9.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002871/0.1548, allocations: 1.462 MB / 370.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004654/0.1553, allocations: 0.9489 MB / 371.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009005/0.1562, allocations: 0.7122 MB / 372.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.1563, allocations: 45.7 kB / 372.2 MB, free: 5.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.1567, allocations: 416.5 kB / 372.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.157, allocations: 262.1 kB / 372.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.157, allocations: 12 kB / 372.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.1573, allocations: 338 kB / 373.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/0.158, allocations: 261.9 kB / 373.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.1592, allocations: 0.5958 MB / 374.1 MB, free: 3.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.16, allocations: 407.8 kB / 374.5 MB, free: 3.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1601, allocations: 0 / 374.5 MB, free: 3.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001801/0.1619, allocations: 0.9704 MB / 375.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.678e-05/0.1619, allocations: 93.11 kB / 375.5 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.162, allocations: 0 / 375.5 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.1623, allocations: 132.2 kB / 375.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/0.163, allocations: 155.8 kB / 375.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/0.1684, allocations: 6.972 MB / 382.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.1695, allocations: 119.1 kB / 382.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.1696, allocations: 23.98 kB / 382.9 MB, free: 10.34 MB / 318.1 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 (79): * Single equations (assignments): 71 * 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%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004545/0.17, allocations: 242.8 kB / 383.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.1702, allocations: 102.8 kB / 383.2 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.1704, allocations: 112.8 kB / 383.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1704, allocations: 8 kB / 383.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.1705, allocations: 3.984 kB / 383.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001411/0.1719, allocations: 0.9896 MB / 384.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.1747, allocations: 1.727 MB / 386.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1747, allocations: 0 / 386.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/0.1755, allocations: 171.7 kB / 386.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.1756, allocations: 24.84 kB / 386.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.1756, allocations: 16 kB / 386.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.1768, allocations: 1.44 MB / 387.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1768, allocations: 4 kB / 387.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.1789, allocations: 1.111 MB / 388.8 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.1794, allocations: 244.1 kB / 389.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.1795, allocations: 24 kB / 389.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.1802, allocations: 51.95 kB / 389.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.1803, allocations: 44.55 kB / 389.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.1803, allocations: 23.92 kB / 389.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007745/0.1811, allocations: 0.499 MB / 389.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1811, allocations: 4 kB / 389.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001095/0.1822, allocations: 291.6 kB / 390 MB, free: 2.863 MB / 318.1 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 (69): * Single equations (assignments): 68 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002381/0.1846, allocations: 1.683 MB / 391.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.1868, allocations: 1.425 MB / 393.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1868, allocations: 4 kB / 393.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006727/0.1875, allocations: 438.6 kB / 393.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.1886, allocations: 243.1 kB / 393.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.1927, allocations: 3.089 MB / 396.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.1933, allocations: 0.9986 MB / 397.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004977/0.1938, allocations: 106.4 kB / 398 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.1943, allocations: 347.3 kB / 398.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1943, allocations: 0 / 398.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04886/0.2432, allocations: 22.46 MB / 420.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/0.2435, allocations: 221.6 kB / 421 MB, free: 4.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/2.768, allocations: 0 / 421 MB, free: 4.082 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat