Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001075, allocations: 174.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008356/0.0008356, allocations: 92.97 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3399/0.3399, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 12 kB / 432.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 58.84 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.2218/0.3374, allocations: 28.2 MB / 0.507 GB, free: 30.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005646/0.3431, allocations: 4.417 MB / 0.5113 GB, free: 27.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008196/0.3439, allocations: 23.25 kB / 0.5113 GB, free: 27.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.3447, allocations: 235.2 kB / 0.5115 GB, free: 27.57 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004131/0.3489, allocations: 1.615 MB / 0.5131 GB, free: 26.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.352, allocations: 1.233 MB / 0.5143 GB, free: 26.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002582/0.3546, allocations: 2.256 MB / 0.5165 GB, free: 25.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006187/0.3553, allocations: 413.1 kB / 0.5169 GB, free: 25.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005277/0.3606, allocations: 3.228 MB / 0.5201 GB, free: 24.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.3627, allocations: 1.321 MB / 0.5213 GB, free: 24.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.3629, allocations: 32.5 kB / 0.5214 GB, free: 24.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.3656, allocations: 1.346 MB / 0.5227 GB, free: 24.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.3658, allocations: 229.8 kB / 0.5229 GB, free: 24.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.3663, allocations: 387.3 kB / 0.5233 GB, free: 23.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.3677, allocations: 1.08 MB / 0.5243 GB, free: 23.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3677, allocations: 0 / 0.5243 GB, free: 23.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3678, allocations: 0 / 0.5243 GB, free: 23.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3678, allocations: 0 / 0.5243 GB, free: 23.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001664/0.3694, allocations: 0.995 MB / 0.5253 GB, free: 22.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3695, allocations: 13.5 kB / 0.5253 GB, free: 22.96 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.3696, allocations: 103.3 kB / 0.5254 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009183/0.3705, allocations: 144.8 kB / 0.5256 GB, free: 22.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.3712, allocations: 0.5185 MB / 0.5261 GB, free: 22.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-05/0.3713, allocations: 108.4 kB / 0.5262 GB, free: 22.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.3714, allocations: 47.19 kB / 0.5262 GB, free: 22.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.3726, allocations: 0.8436 MB / 0.527 GB, free: 21.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3726, allocations: 3.375 kB / 0.527 GB, free: 21.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.3727, allocations: 22.77 kB / 0.5271 GB, free: 21.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/0.3728, allocations: 41.81 kB / 0.5271 GB, free: 21.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.3738, allocations: 0.6026 MB / 0.5277 GB, free: 21.65 MB / 378.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.004681/0.3785, allocations: 4.901 MB / 0.5325 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.3791, allocations: 318.9 kB / 0.5328 GB, free: 17.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.3793, allocations: 143.8 kB / 0.5329 GB, free: 17.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/0.3796, allocations: 0.6124 MB / 0.5335 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3797, allocations: 44.66 kB / 0.5336 GB, free: 16.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.095e-06/0.3797, allocations: 0 / 0.5336 GB, free: 16.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.00361/0.3833, allocations: 1.53 MB / 0.535 GB, free: 15.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3834, allocations: 134.8 kB / 0.5352 GB, free: 15.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.384, allocations: 0.6504 MB / 0.5358 GB, free: 15.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.3841, allocations: 32.73 kB / 0.5358 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3843, allocations: 393.7 kB / 0.5362 GB, free: 14.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.3844, allocations: 132.8 kB / 0.5363 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.3844, allocations: 10.88 kB / 0.5364 GB, free: 14.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3846, allocations: 376.1 kB / 0.5367 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.3849, allocations: 207.8 kB / 0.5369 GB, free: 14.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.3853, allocations: 0.4909 MB / 0.5374 GB, free: 13.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/0.3861, allocations: 0.7104 MB / 0.5381 GB, free: 13.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3861, allocations: 3.812 kB / 0.5381 GB, free: 13.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001269/0.3874, allocations: 0.8628 MB / 0.5389 GB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3874, allocations: 10.16 kB / 0.5389 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3875, allocations: 13.62 kB / 0.539 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.3887, allocations: 288.1 kB / 0.5392 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.3891, allocations: 120.2 kB / 0.5393 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009545/0.39, allocations: 1.403 MB / 0.5407 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.3906, allocations: 34.5 kB / 0.5407 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.3906, allocations: 41.3 kB / 0.5408 GB, free: 11.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003255/0.391, allocations: 260.6 kB / 0.541 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.3911, allocations: 68.91 kB / 0.5411 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.3925, allocations: 0.65 MB / 0.5417 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3925, allocations: 11.56 kB / 0.5417 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3925, allocations: 0 / 0.5417 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3925, allocations: 2.109 kB / 0.5417 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.3943, allocations: 1.222 MB / 0.5429 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3943, allocations: 1.375 kB / 0.5429 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.3945, allocations: 41.44 kB / 0.543 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008434/0.3953, allocations: 207.2 kB / 0.5432 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.3954, allocations: 9.797 kB / 0.5432 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008418/0.3962, allocations: 1.298 MB / 0.5445 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3962, allocations: 10.28 kB / 0.5445 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3975, allocations: 0.8062 MB / 0.5453 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.3979, allocations: 202.2 kB / 0.5454 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.398, allocations: 18.44 kB / 0.5455 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.3986, allocations: 24.55 kB / 0.5455 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3987, allocations: 24.41 kB / 0.5455 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/0.3987, allocations: 25.78 kB / 0.5455 GB, free: 8.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006537/0.3994, allocations: 444.5 kB / 0.546 GB, free: 8.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3994, allocations: 0 / 0.546 GB, free: 8.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001139/0.4006, allocations: 297.7 kB / 0.5462 GB, free: 8.418 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002539/0.4031, allocations: 1.608 MB / 0.5478 GB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.4044, allocations: 0.5076 MB / 0.5483 GB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4044, allocations: 1.312 kB / 0.5483 GB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000591/0.405, allocations: 220.9 kB / 0.5485 GB, free: 7.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.407, allocations: 310 kB / 0.5488 GB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/0.4143, allocations: 4.204 MB / 0.5529 GB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4147, allocations: 0.9308 MB / 0.5538 GB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.4151, allocations: 246.3 kB / 0.5541 GB, free: 3.852 MB / 378.7 MB Notification: Performance of SimCode: time 2.645e-06/0.4151, allocations: 0 / 0.5541 GB, free: 3.852 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.743/5.158, allocations: 18.75 MB / 0.5724 GB, free: 5.711 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat