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.00102/0.001021, allocations: 87.31 kB / 16.31 MB, free: 5.676 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.0009653/0.0009656, allocations: 182.2 kB / 17.21 MB, free: 5.598 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.351/1.351, allocations: 223.2 MB / 241.2 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002564/0.0002565, allocations: 4 kB / 300.9 MB, free: 6.367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 50.42 MB / 351.3 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004919/0.113, allocations: 4.904 MB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1156, allocations: 1.293 MB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.1161, allocations: 15.94 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.1165, allocations: 119.1 kB / 357.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.1172, allocations: 345.3 kB / 358 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1177, allocations: 191.7 kB / 358.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.1189, allocations: 1.201 MB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.1193, allocations: 347 kB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005182/0.1199, allocations: 450.4 kB / 360.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.1204, allocations: 0.5252 MB / 360.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1205, allocations: 80 kB / 360.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1207, allocations: 76 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.1208, allocations: 203.2 kB / 361 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.121, allocations: 237.1 kB / 361.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008773/0.1219, allocations: 1.024 MB / 362.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1219, allocations: 0 / 362.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.122, allocations: 0 / 362.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.122, allocations: 0 / 362.3 MB, free: 8.895 MB / 302.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.002176/0.1242, allocations: 1.31 MB / 363.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1242, allocations: 12.03 kB / 363.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.1244, allocations: 124.4 kB / 363.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.1246, allocations: 130.7 kB / 363.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.1255, allocations: 0.5985 MB / 364.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.1257, allocations: 155.1 kB / 364.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.1258, allocations: 75.98 kB / 364.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.1273, allocations: 0.9899 MB / 365.7 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1273, allocations: 4 kB / 365.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.1274, allocations: 36 kB / 365.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.1274, allocations: 16 kB / 365.7 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1287, allocations: 0.6481 MB / 366.4 MB, free: 4.551 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.00413/0.1328, allocations: 2.679 MB / 369.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.1353, allocations: 0.8751 MB / 369.9 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/0.1359, allocations: 362.2 kB / 370.3 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.136, allocations: 20.64 kB / 370.3 MB, free: 440 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.1361, allocations: 43.22 kB / 370.4 MB, free: 388 kB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.1361, allocations: 4 kB / 370.4 MB, free: 384 kB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.1986/0.3347, allocations: 1.429 MB / 371.8 MB, free: 23.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.3349, allocations: 0.9501 MB / 372.7 MB, free: 22.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3361, allocations: 0.7825 MB / 373.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.3362, allocations: 46.61 kB / 373.6 MB, free: 22.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.3366, allocations: 423.5 kB / 374 MB, free: 21.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.3368, allocations: 250.4 kB / 374.2 MB, free: 21.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.3368, allocations: 14.31 kB / 374.2 MB, free: 21.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.3369, allocations: 333.6 kB / 374.6 MB, free: 21.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.3374, allocations: 266.9 kB / 374.8 MB, free: 21.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/0.3383, allocations: 0.5901 MB / 375.4 MB, free: 21.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.3391, allocations: 410.7 kB / 375.8 MB, free: 21.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3391, allocations: 0 / 375.8 MB, free: 21.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00205/0.3411, allocations: 0.9685 MB / 376.8 MB, free: 20.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.3412, allocations: 87.33 kB / 376.9 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3412, allocations: 1.125 kB / 376.9 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/0.3416, allocations: 129.4 kB / 377 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.3424, allocations: 152.8 kB / 377.2 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/0.3466, allocations: 6.786 MB / 383.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.3477, allocations: 116.8 kB / 384.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.3478, allocations: 24.72 kB / 384.1 MB, free: 13.83 MB / 302.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 (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.000425/0.3482, allocations: 240.1 kB / 384.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.3484, allocations: 115.8 kB / 384.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.3486, allocations: 103.6 kB / 384.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.3487, allocations: 7.375 kB / 384.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.3487, allocations: 1.281 kB / 384.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001324/0.35, allocations: 0.9835 MB / 385.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.3528, allocations: 1.773 MB / 387.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.3529, allocations: 3.031 kB / 387.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/0.3537, allocations: 168.8 kB / 387.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.3538, allocations: 25.94 kB / 387.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.3539, allocations: 20.94 kB / 387.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008132/0.3547, allocations: 1.304 MB / 388.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3547, allocations: 0.8438 kB / 388.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.3573, allocations: 1.103 MB / 389.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000672/0.358, allocations: 258.9 kB / 390.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3581, allocations: 18.88 kB / 390.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.3587, allocations: 63.61 kB / 390.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3589, allocations: 45.59 kB / 390.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.3589, allocations: 18.89 kB / 390.3 MB, free: 9.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008787/0.3598, allocations: 0.5419 MB / 390.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3598, allocations: 0 / 390.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001091/0.3609, allocations: 294.2 kB / 391.1 MB, free: 9.461 MB / 302.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 (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.00231/0.3632, allocations: 1.682 MB / 392.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.3655, allocations: 1.402 MB / 394.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/0.3655, allocations: 7 kB / 394.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007369/0.3662, allocations: 429.7 kB / 394.6 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.3675, allocations: 269.7 kB / 394.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009658/0.3772, allocations: 5.568 MB / 400.5 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.378, allocations: 0.9832 MB / 401.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007618/0.3787, allocations: 129.1 kB / 401.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.3792, allocations: 356.8 kB / 401.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3792, allocations: 0 / 401.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04376/0.4229, allocations: 23.81 MB / 425.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.4232, allocations: 226.5 kB / 426 MB, free: 12.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/2.99, allocations: 4 kB / 426 MB, free: 12.6 MB / 334.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