Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_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.000861/0.000861, allocations: 99.52 kB / 17 MB, free: 6.477 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.0008684/0.0008684, allocations: 181.7 kB / 17.89 MB, free: 5.922 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.414/1.414, allocations: 223.2 MB / 241.9 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 44.22 MB / 337.2 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 12 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 61.92 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5285/0.6634, allocations: 135.7 MB / 0.5931 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.6652, allocations: 1.477 MB / 0.5945 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.6652, allocations: 0 / 0.5945 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.6655, allocations: 38.19 kB / 0.5945 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006823/0.6662, allocations: 294.6 kB / 0.5948 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.6666, allocations: 129.2 kB / 0.595 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.6668, allocations: 207.2 kB / 0.5951 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.6669, allocations: 7.984 kB / 0.5952 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.667, allocations: 67.7 kB / 0.5952 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.6671, allocations: 59.81 kB / 0.5953 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.6672, allocations: 4 kB / 0.5953 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.668, allocations: 443.2 kB / 0.5957 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.6681, allocations: 39.88 kB / 0.5957 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.6681, allocations: 42.67 kB / 0.5958 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.6684, allocations: 265.7 kB / 0.596 GB, free: 8.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6685, allocations: 3.938 kB / 0.596 GB, free: 8.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6685, allocations: 0 / 0.596 GB, free: 8.488 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.6685, allocations: 0 / 0.596 GB, free: 8.488 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.0004848/0.669, allocations: 412.1 kB / 0.5964 GB, free: 8.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.669, allocations: 8.031 kB / 0.5964 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.6691, allocations: 46.56 kB / 0.5965 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.6709, allocations: 191.6 kB / 0.5967 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.6711, allocations: 203 kB / 0.5969 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.6712, allocations: 8.141 kB / 0.5969 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.6712, allocations: 19.84 kB / 0.5969 GB, free: 7.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.6716, allocations: 202.9 kB / 0.5971 GB, free: 7.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.6717, allocations: 4 kB / 0.5971 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.6717, allocations: 4 kB / 0.5971 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.6717, allocations: 4 kB / 0.5971 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005169/0.6722, allocations: 232.6 kB / 0.5973 GB, free: 7.082 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.001473/0.6737, allocations: 0.6681 MB / 0.598 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.6741, allocations: 194.4 kB / 0.5982 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.6743, allocations: 92.81 kB / 0.5982 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.6745, allocations: 89.09 kB / 0.5983 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.6745, allocations: 34.56 kB / 0.5984 GB, free: 5.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.6745, allocations: 4 kB / 0.5984 GB, free: 5.91 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.004929/0.6794, allocations: 1.527 MB / 0.5999 GB, free: 4.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.6795, allocations: 55.41 kB / 0.5999 GB, free: 4.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.6796, allocations: 109.8 kB / 0.6 GB, free: 4.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.6796, allocations: 29.7 kB / 0.6 GB, free: 4.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.6797, allocations: 96.27 kB / 0.6001 GB, free: 3.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.6797, allocations: 74.98 kB / 0.6002 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.6798, allocations: 0 / 0.6002 GB, free: 3.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6799, allocations: 326.8 kB / 0.6005 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.6801, allocations: 95.89 kB / 0.6006 GB, free: 3.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.6803, allocations: 115.4 kB / 0.6007 GB, free: 3.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.6805, allocations: 97.3 kB / 0.6008 GB, free: 3.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6805, allocations: 3.984 kB / 0.6008 GB, free: 3.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005623/0.6811, allocations: 288.6 kB / 0.6011 GB, free: 2.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6811, allocations: 4 kB / 0.6011 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6811, allocations: 0 / 0.6011 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.6812, allocations: 36.66 kB / 0.6011 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.6817, allocations: 55.91 kB / 0.6012 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000319/0.682, allocations: 0.5368 MB / 0.6017 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.6822, allocations: 16.02 kB / 0.6017 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.6823, allocations: 4 kB / 0.6017 GB, free: 2.273 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.0001267/0.6824, allocations: 130.3 kB / 0.6018 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.6825, allocations: 15.98 kB / 0.6019 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007313/0.6832, allocations: 319.3 kB / 0.6022 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6832, allocations: 4 kB / 0.6022 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6833, allocations: 0 / 0.6022 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6833, allocations: 3.984 kB / 0.6022 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.6843, allocations: 0.664 MB / 0.6028 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6843, allocations: 96 / 0.6028 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.6847, allocations: 59.89 kB / 0.6029 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.547e-05/0.6848, allocations: 16.84 kB / 0.6029 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.6848, allocations: 11.95 kB / 0.6029 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008539/0.6857, allocations: 1.268 MB / 0.6041 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6857, allocations: 0 / 0.6041 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.6865, allocations: 455.9 kB / 0.6046 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.6865, allocations: 92.98 kB / 0.6047 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.6866, allocations: 7.984 kB / 0.6047 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.6869, allocations: 8 kB / 0.6047 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.6869, allocations: 24.03 kB / 0.6047 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.687, allocations: 8 kB / 0.6047 GB, free: 14.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.687, allocations: 87.27 kB / 0.6048 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.687, allocations: 0 / 0.6048 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005876/0.6876, allocations: 135.9 kB / 0.6049 GB, free: 14.72 MB / 446.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.001581/0.6892, allocations: 1.118 MB / 0.606 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.6898, allocations: 227.8 kB / 0.6062 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6898, allocations: 0 / 0.6062 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.6902, allocations: 234.9 kB / 0.6065 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.6906, allocations: 51.83 kB / 0.6065 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.6925, allocations: 1.159 MB / 0.6076 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.6928, allocations: 0.7088 MB / 0.6083 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000404/0.6932, allocations: 49.39 kB / 0.6084 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.6933, allocations: 43.42 kB / 0.6084 GB, free: 11 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6934, allocations: 0 / 0.6084 GB, free: 11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.713, allocations: 7.528 MB / 0.6158 GB, free: 3.641 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.7132, allocations: 218.4 kB / 0.616 GB, free: 3.395 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.733, allocations: 0 / 0.616 GB, free: 3.395 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat