Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.001636/0.001642, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001143/0.001143, allocations: 110.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2982/0.2982, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004892, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1241, allocations: 58.86 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04043/0.1645, allocations: 22.56 MB / 0.5009 GB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004677/0.1692, allocations: 2.58 MB / 0.5034 GB, free: 16 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.1695, allocations: 4 kB / 0.5034 GB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.1698, allocations: 39.84 kB / 0.5034 GB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.1723, allocations: 0.5919 MB / 0.504 GB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.1729, allocations: 120.4 kB / 0.5041 GB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006684/0.1736, allocations: 259.4 kB / 0.5044 GB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.1737, allocations: 13.69 kB / 0.5044 GB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4006/0.5742, allocations: 22.22 MB / 0.5261 GB, free: 22.33 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.5747, allocations: 131.6 kB / 0.5262 GB, free: 22.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.5748, allocations: 5.844 kB / 0.5262 GB, free: 22.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/0.5928, allocations: 5.601 MB / 0.5317 GB, free: 22.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.5931, allocations: 38.2 kB / 0.5317 GB, free: 22.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.5933, allocations: 62.55 kB / 0.5318 GB, free: 22.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.595, allocations: 289.4 kB / 0.532 GB, free: 22.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5951, allocations: 0 / 0.532 GB, free: 22.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.938e-06/0.5951, allocations: 0 / 0.532 GB, free: 22.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.5951, allocations: 4 kB / 0.5321 GB, free: 22.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002455/0.5976, allocations: 0.547 MB / 0.5326 GB, free: 21.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/0.5977, allocations: 10.16 kB / 0.5326 GB, free: 21.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/0.5979, allocations: 63.19 kB / 0.5327 GB, free: 21.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.5983, allocations: 26.33 kB / 0.5327 GB, free: 21.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.5989, allocations: 224.5 kB / 0.5329 GB, free: 21.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.5992, allocations: 121.8 kB / 0.533 GB, free: 21.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.5993, allocations: 22.61 kB / 0.533 GB, free: 21.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.6006, allocations: 327.8 kB / 0.5333 GB, free: 21.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.6007, allocations: 0 / 0.5333 GB, free: 21.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.926e-05/0.6008, allocations: 8.844 kB / 0.5334 GB, free: 21.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/0.6008, allocations: 7.391 kB / 0.5334 GB, free: 21.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.6029, allocations: 0.7402 MB / 0.5341 GB, free: 21.29 MB / 362.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.002929/0.6059, allocations: 1.351 MB / 0.5354 GB, free: 20.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.6065, allocations: 161.5 kB / 0.5356 GB, free: 20.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003269/0.6098, allocations: 2.867 MB / 0.5384 GB, free: 17.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.6098, allocations: 32.78 kB / 0.5384 GB, free: 17.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 4.709e-06/0.6099, allocations: 3.922 kB / 0.5384 GB, free: 17.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005052/0.6104, allocations: 145.5 kB / 0.5385 GB, free: 17.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.6104, allocations: 55.41 kB / 0.5386 GB, free: 17.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.6107, allocations: 201.7 kB / 0.5388 GB, free: 17.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.6108, allocations: 29.73 kB / 0.5388 GB, free: 17.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.6109, allocations: 276 kB / 0.5391 GB, free: 16.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.611, allocations: 58.33 kB / 0.5391 GB, free: 16.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.611, allocations: 8.844 kB / 0.5391 GB, free: 16.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.6111, allocations: 326.9 kB / 0.5394 GB, free: 16.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.6112, allocations: 47.36 kB / 0.5395 GB, free: 16.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.6115, allocations: 322.1 kB / 0.5398 GB, free: 16.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.6117, allocations: 100.3 kB / 0.5399 GB, free: 16.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6117, allocations: 6.562 kB / 0.5399 GB, free: 16.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007643/0.6125, allocations: 369.4 kB / 0.5402 GB, free: 16.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.6125, allocations: 11.94 kB / 0.5403 GB, free: 16.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.6126, allocations: 7.875 kB / 0.5403 GB, free: 16.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.6126, allocations: 15.78 kB / 0.5403 GB, free: 16.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.6131, allocations: 100.9 kB / 0.5404 GB, free: 16.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.6131, allocations: 17.72 kB / 0.5404 GB, free: 16.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.6136, allocations: 53 kB / 0.5404 GB, free: 16.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.6136, allocations: 34.91 kB / 0.5405 GB, free: 16.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.6138, allocations: 156.3 kB / 0.5406 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.6139, allocations: 21.33 kB / 0.5406 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005448/0.6144, allocations: 183.5 kB / 0.5408 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.6145, allocations: 3.969 kB / 0.5408 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6145, allocations: 2.734 kB / 0.5408 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6145, allocations: 0 / 0.5408 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007201/0.6152, allocations: 457.1 kB / 0.5413 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6153, allocations: 1.953 kB / 0.5413 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.6154, allocations: 18.94 kB / 0.5413 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.6154, allocations: 3.969 kB / 0.5413 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6154, allocations: 0 / 0.5413 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.6155, allocations: 7.109 kB / 0.5413 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6155, allocations: 0.7812 kB / 0.5413 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.6158, allocations: 270 kB / 0.5416 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.6159, allocations: 121.8 kB / 0.5417 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.616, allocations: 7.922 kB / 0.5417 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.6162, allocations: 7.438 kB / 0.5417 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.6163, allocations: 14.11 kB / 0.5417 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.6163, allocations: 3.969 kB / 0.5417 GB, free: 15.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.6165, allocations: 147.1 kB / 0.5418 GB, free: 15.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6165, allocations: 6.562 kB / 0.5419 GB, free: 15.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008026/0.6173, allocations: 102.9 kB / 0.5419 GB, free: 15.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008363/0.6182, allocations: 1.148 MB / 0.5431 GB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005119/0.6187, allocations: 170.2 kB / 0.5432 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.6187, allocations: 6 kB / 0.5432 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.6188, allocations: 31.48 kB / 0.5433 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.6195, allocations: 54.11 kB / 0.5433 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.6229, allocations: 7.815 MB / 0.551 GB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.6232, allocations: 0.7327 MB / 0.5517 GB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.6233, allocations: 64.53 kB / 0.5517 GB, free: 5.918 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6234, allocations: 4 kB / 0.5517 GB, free: 5.914 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.474/3.098, allocations: 4.33 MB / 0.556 GB, free: 3.707 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat