Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.00106/0.00106, allocations: 96.83 kB / 15.69 MB, free: 488 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.001465/0.001465, allocations: 173.5 kB / 16.56 MB, free: 6.379 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.865/1.865, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4016/0.4016, allocations: 43.55 MB / 314.5 MB, free: 8.789 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.0007998/0.0008002, allocations: 12 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.159, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4197/0.5788, allocations: 125.7 MB / 0.5552 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.5806, allocations: 1.23 MB / 0.5564 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.5807, allocations: 4 kB / 0.5564 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.581, allocations: 42.67 kB / 0.5565 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007429/0.5817, allocations: 278 kB / 0.5567 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.5821, allocations: 129.2 kB / 0.5569 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.5823, allocations: 113.9 kB / 0.557 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.5824, allocations: 6.656 kB / 0.557 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.5826, allocations: 82.78 kB / 0.557 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.5827, allocations: 46.62 kB / 0.5571 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.5827, allocations: 8 kB / 0.5571 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008685/0.5836, allocations: 433.8 kB / 0.5575 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.5837, allocations: 29.27 kB / 0.5575 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.5837, allocations: 41.64 kB / 0.5576 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.5841, allocations: 255.5 kB / 0.5578 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5841, allocations: 0 / 0.5578 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5841, allocations: 0 / 0.5578 GB, free: 11.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.5841, allocations: 0 / 0.5578 GB, free: 11.2 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005133/0.5847, allocations: 412.7 kB / 0.5582 GB, free: 10.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5847, allocations: 8.031 kB / 0.5582 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.5848, allocations: 45.31 kB / 0.5583 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.5869, allocations: 190.2 kB / 0.5584 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.5872, allocations: 206.5 kB / 0.5586 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5872, allocations: 8.188 kB / 0.5587 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.5873, allocations: 9.719 kB / 0.5587 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.5878, allocations: 202.4 kB / 0.5589 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.5878, allocations: 0 / 0.5589 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.5878, allocations: 11.98 kB / 0.5589 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.5878, allocations: 0.6562 kB / 0.5589 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.5884, allocations: 239.8 kB / 0.5591 GB, free: 9.992 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.001781/0.5902, allocations: 0.6735 MB / 0.5598 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.5907, allocations: 191.4 kB / 0.5599 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.5909, allocations: 93.09 kB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.5909, allocations: 34.56 kB / 0.5601 GB, free: 9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.5909, allocations: 0 / 0.5601 GB, free: 9 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.005709/0.5966, allocations: 1.534 MB / 0.5616 GB, free: 7.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.5967, allocations: 55.41 kB / 0.5616 GB, free: 7.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.5968, allocations: 113.8 kB / 0.5617 GB, free: 7.172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.5968, allocations: 25.7 kB / 0.5617 GB, free: 7.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.5969, allocations: 104.2 kB / 0.5618 GB, free: 7.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.597, allocations: 71 kB / 0.5619 GB, free: 6.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.597, allocations: 0 / 0.5619 GB, free: 6.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5972, allocations: 322.8 kB / 0.5622 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5974, allocations: 95.95 kB / 0.5623 GB, free: 6.547 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.5976, allocations: 126 kB / 0.5624 GB, free: 6.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.5979, allocations: 91.98 kB / 0.5625 GB, free: 6.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5979, allocations: 4 kB / 0.5625 GB, free: 6.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006146/0.5985, allocations: 286.3 kB / 0.5628 GB, free: 6.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5985, allocations: 7.984 kB / 0.5628 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.5985, allocations: 7.938 kB / 0.5628 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.5987, allocations: 24.84 kB / 0.5628 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.5992, allocations: 56 kB / 0.5629 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004404/0.5996, allocations: 0.5368 MB / 0.5634 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.5999, allocations: 11.98 kB / 0.5634 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.6, allocations: 10.81 kB / 0.5634 GB, free: 5.352 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.0001788/0.6002, allocations: 129.9 kB / 0.5636 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.6003, allocations: 7.906 kB / 0.5636 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000815/0.6011, allocations: 325.6 kB / 0.5639 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.6011, allocations: 7.938 kB / 0.5639 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6011, allocations: 3.953 kB / 0.5639 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6011, allocations: 3.984 kB / 0.5639 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.6022, allocations: 0.664 MB / 0.5645 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.6023, allocations: 4 kB / 0.5645 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.6027, allocations: 55.89 kB / 0.5646 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.96e-05/0.6028, allocations: 16.84 kB / 0.5646 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.6028, allocations: 11.98 kB / 0.5646 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008861/0.6037, allocations: 1.26 MB / 0.5659 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6037, allocations: 8.016 kB / 0.5659 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.6046, allocations: 487.9 kB / 0.5663 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.6046, allocations: 92.94 kB / 0.5664 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.6047, allocations: 10.94 kB / 0.5664 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.605, allocations: 11.98 kB / 0.5664 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.6051, allocations: 15.98 kB / 0.5665 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.6051, allocations: 11.98 kB / 0.5665 GB, free: 1.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.933e-05/0.6052, allocations: 83.28 kB / 0.5665 GB, free: 1.887 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.575e-06/0.6052, allocations: 0 / 0.5665 GB, free: 1.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005508/0.6057, allocations: 131.9 kB / 0.5667 GB, free: 1.758 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 (19): * Single equations (assignments): 18 * 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.001734/0.6075, allocations: 1.36 MB / 0.568 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006121/0.6081, allocations: 229.7 kB / 0.5682 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6081, allocations: 0 / 0.5682 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.6085, allocations: 231 kB / 0.5684 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.6089, allocations: 48.92 kB / 0.5685 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.6111, allocations: 1.615 MB / 0.5701 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.6114, allocations: 0.7088 MB / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004082/0.6118, allocations: 57.92 kB / 0.5708 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.612, allocations: 39.41 kB / 0.5708 GB, free: 13.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.612, allocations: 0 / 0.5708 GB, free: 13.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.634, allocations: 7.532 MB / 0.5782 GB, free: 5.875 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.6342, allocations: 216.9 kB / 0.5784 GB, free: 5.625 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.517, allocations: 0 / 0.5784 GB, free: 5.625 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat