Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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 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 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 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(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",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.001108/0.001108, allocations: 97.22 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 175.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4005/0.4005, allocations: 43.54 MB / 314.5 MB, free: 9.027 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006008/0.0006013, allocations: 16 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1542, allocations: 58.85 MB / 442.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4348/0.5891, allocations: 125.6 MB / 0.5551 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.5904, allocations: 0.8166 MB / 0.5559 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.5905, allocations: 0 / 0.5559 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.5907, allocations: 29.19 kB / 0.5559 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.5913, allocations: 207.9 kB / 0.5561 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.5916, allocations: 94.55 kB / 0.5562 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.5918, allocations: 111.8 kB / 0.5563 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.513e-05/0.5919, allocations: 10.59 kB / 0.5563 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.5921, allocations: 82.2 kB / 0.5564 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.5922, allocations: 52.28 kB / 0.5564 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.5923, allocations: 4 kB / 0.5564 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005631/0.5928, allocations: 277 kB / 0.5567 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.5929, allocations: 25.41 kB / 0.5567 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.593, allocations: 33.7 kB / 0.5568 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.5933, allocations: 198.1 kB / 0.557 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5933, allocations: 0 / 0.557 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5933, allocations: 0 / 0.557 GB, free: 12.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.5933, allocations: 0 / 0.557 GB, free: 12.04 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005607/0.5939, allocations: 388.3 kB / 0.5573 GB, free: 11.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5939, allocations: 12.03 kB / 0.5573 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.256e-05/0.594, allocations: 44.23 kB / 0.5574 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.596, allocations: 185 kB / 0.5576 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.5963, allocations: 204.1 kB / 0.5578 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5963, allocations: 4 kB / 0.5578 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.5964, allocations: 12 kB / 0.5578 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.5969, allocations: 227.3 kB / 0.558 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.597, allocations: 0 / 0.558 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.597, allocations: 8 kB / 0.558 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.597, allocations: 0 / 0.558 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.5975, allocations: 172.4 kB / 0.5582 GB, free: 10.89 MB / 430.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.001105/0.5986, allocations: 0.5735 MB / 0.5587 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.5989, allocations: 139.1 kB / 0.5589 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.599, allocations: 11.98 kB / 0.5589 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.599, allocations: 39.44 kB / 0.5589 GB, free: 10.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.599, allocations: 3.938 kB / 0.5589 GB, free: 10.12 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005324/0.6043, allocations: 1.3 MB / 0.5602 GB, free: 8.859 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.6044, allocations: 55.41 kB / 0.5602 GB, free: 8.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.6045, allocations: 115.7 kB / 0.5603 GB, free: 8.672 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.6046, allocations: 29.7 kB / 0.5604 GB, free: 8.637 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.6046, allocations: 99.88 kB / 0.5605 GB, free: 8.535 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.6047, allocations: 67 kB / 0.5605 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.6047, allocations: 8 kB / 0.5605 GB, free: 8.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6048, allocations: 318.8 kB / 0.5608 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.605, allocations: 71.97 kB / 0.5609 GB, free: 8.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.6052, allocations: 95.58 kB / 0.561 GB, free: 7.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.6053, allocations: 80.92 kB / 0.5611 GB, free: 7.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6053, allocations: 0 / 0.5611 GB, free: 7.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004667/0.6058, allocations: 263.3 kB / 0.5613 GB, free: 7.621 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6058, allocations: 4 kB / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6059, allocations: 0 / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.6061, allocations: 52.83 kB / 0.5614 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.6064, allocations: 55.89 kB / 0.5614 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004142/0.6068, allocations: 0.572 MB / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.607, allocations: 8.031 kB / 0.562 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.607, allocations: 20 kB / 0.562 GB, free: 6.883 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.6072, allocations: 137.7 kB / 0.5621 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.6072, allocations: 7.906 kB / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/0.6081, allocations: 354.5 kB / 0.5625 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6081, allocations: 7.938 kB / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6081, allocations: 0 / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6081, allocations: 0 / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/0.6091, allocations: 0.6114 MB / 0.5631 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6091, allocations: 0 / 0.5631 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.6094, allocations: 67.83 kB / 0.5632 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.171e-05/0.6095, allocations: 24.75 kB / 0.5632 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.6096, allocations: 17.3 kB / 0.5632 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009417/0.6105, allocations: 1.269 MB / 0.5644 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6105, allocations: 7.156 kB / 0.5644 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.6112, allocations: 464 kB / 0.5649 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.6113, allocations: 85.02 kB / 0.565 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.6113, allocations: 4 kB / 0.565 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.6115, allocations: 12.06 kB / 0.565 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.6116, allocations: 19.97 kB / 0.565 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.009e-05/0.6116, allocations: 31.98 kB / 0.565 GB, free: 3.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.947e-05/0.6117, allocations: 99.5 kB / 0.5651 GB, free: 3.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6117, allocations: 0 / 0.5651 GB, free: 3.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.6122, allocations: 72 kB / 0.5652 GB, free: 3.344 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001257/0.6134, allocations: 1.257 MB / 0.5664 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.6139, allocations: 207.2 kB / 0.5666 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.6139, allocations: 4 kB / 0.5666 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.6143, allocations: 220.9 kB / 0.5668 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.6147, allocations: 50.41 kB / 0.5669 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.6165, allocations: 1.541 MB / 0.5684 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.6168, allocations: 0.7127 MB / 0.5691 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000455/0.6173, allocations: 77.39 kB / 0.5692 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.6175, allocations: 67.41 kB / 0.5692 GB, free: 15.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6175, allocations: 0 / 0.5692 GB, free: 15.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.6384, allocations: 6.858 MB / 0.5759 GB, free: 8.285 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.6386, allocations: 197.6 kB / 0.5761 GB, free: 8.051 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.524, allocations: 0 / 0.5761 GB, free: 8.051 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat