Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.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.CO2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2",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.002338/0.002336, allocations: 189.2 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.311/2.311, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001172/0.001172, allocations: 106.8 kB / 270.9 MB, free: 13.37 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.2973/0.2973, allocations: 43.54 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5229/0.6451, allocations: 126.2 MB / 0.602 GB, free: 12.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.6555, allocations: 5.479 MB / 0.6074 GB, free: 7.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.6557, allocations: 4 kB / 0.6074 GB, free: 7.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.6561, allocations: 47.72 kB / 0.6074 GB, free: 7.023 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005326/0.6614, allocations: 1.265 MB / 0.6087 GB, free: 5.758 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.6621, allocations: 131.7 kB / 0.6088 GB, free: 5.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006935/0.6628, allocations: 271.9 kB / 0.6091 GB, free: 5.363 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.098e-05/0.6629, allocations: 9.688 kB / 0.6091 GB, free: 5.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.6633, allocations: 171.5 kB / 0.6092 GB, free: 5.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.6638, allocations: 151.5 kB / 0.6094 GB, free: 5.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.6639, allocations: 8 kB / 0.6094 GB, free: 5.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004432/0.6683, allocations: 1.201 MB / 0.6106 GB, free: 3.828 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.6685, allocations: 47.81 kB / 0.6106 GB, free: 3.781 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.6686, allocations: 61.64 kB / 0.6107 GB, free: 3.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.6708, allocations: 0.6456 MB / 0.6113 GB, free: 3.074 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6708, allocations: 0 / 0.6113 GB, free: 3.074 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.6708, allocations: 0 / 0.6113 GB, free: 3.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.6708, allocations: 3.938 kB / 0.6113 GB, free: 3.07 MB / 410.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.001885/0.6727, allocations: 0.6599 MB / 0.6119 GB, free: 2.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6728, allocations: 11.97 kB / 0.612 GB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.893e-05/0.6729, allocations: 54.55 kB / 0.612 GB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.6862, allocations: 0.597 MB / 0.6126 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.6869, allocations: 258.7 kB / 0.6128 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.687, allocations: 123.4 kB / 0.6129 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.6872, allocations: 16 kB / 0.613 GB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.6892, allocations: 0.5556 MB / 0.6135 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.6892, allocations: 3.938 kB / 0.6135 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.6894, allocations: 12 kB / 0.6135 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.6894, allocations: 11.95 kB / 0.6135 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.692, allocations: 0.63 MB / 0.6141 GB, free: 15.99 MB / 426.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.003321/0.6954, allocations: 1.611 MB / 0.6157 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.696, allocations: 158.5 kB / 0.6159 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.6978, allocations: 1.206 MB / 0.6171 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.6978, allocations: 38.56 kB / 0.6171 GB, free: 12.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 4.077e-06/0.6978, allocations: 0 / 0.6171 GB, free: 12.62 MB / 426.7 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=20): time 0.001586/0.6994, allocations: 341.8 kB / 0.6174 GB, free: 12.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.6995, allocations: 55.41 kB / 0.6175 GB, free: 12.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.6997, allocations: 183.1 kB / 0.6176 GB, free: 12.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.6998, allocations: 29.7 kB / 0.6177 GB, free: 11.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.7, allocations: 257.7 kB / 0.6179 GB, free: 11.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.7001, allocations: 66.95 kB / 0.618 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.7001, allocations: 12 kB / 0.618 GB, free: 11.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7003, allocations: 326.8 kB / 0.6183 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.7006, allocations: 64.72 kB / 0.6184 GB, free: 11.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.701, allocations: 263.8 kB / 0.6186 GB, free: 10.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.7013, allocations: 102.2 kB / 0.6187 GB, free: 10.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.7013, allocations: 4 kB / 0.6187 GB, free: 10.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001027/0.7024, allocations: 361.3 kB / 0.6191 GB, free: 10.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.7024, allocations: 8 kB / 0.6191 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.7025, allocations: 8 kB / 0.6191 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.7025, allocations: 11.95 kB / 0.6191 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.7033, allocations: 123.9 kB / 0.6192 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005126/0.7038, allocations: 0.6135 MB / 0.6198 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.7042, allocations: 43.59 kB / 0.6198 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.829e-05/0.7043, allocations: 40 kB / 0.6199 GB, free: 9.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.7046, allocations: 145.6 kB / 0.62 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.7047, allocations: 23.75 kB / 0.62 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.706, allocations: 330.1 kB / 0.6204 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.7061, allocations: 4 kB / 0.6204 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7061, allocations: 0 / 0.6204 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.7061, allocations: 0 / 0.6204 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.7072, allocations: 0.5142 MB / 0.6209 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.7073, allocations: 4.875 kB / 0.6209 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.7077, allocations: 59.95 kB / 0.6209 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.7077, allocations: 0 / 0.6209 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.7077, allocations: 4 kB / 0.6209 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004588/0.7082, allocations: 0.6015 MB / 0.6215 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/0.7082, allocations: 4.734 kB / 0.6215 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.7088, allocations: 344 kB / 0.6219 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.709, allocations: 116.8 kB / 0.622 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.7091, allocations: 4 kB / 0.622 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.7096, allocations: 11.98 kB / 0.622 GB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.7097, allocations: 19.94 kB / 0.622 GB, free: 7.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/0.7097, allocations: 16 kB / 0.622 GB, free: 7.211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.7099, allocations: 131.2 kB / 0.6221 GB, free: 7.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7099, allocations: 96 / 0.6221 GB, free: 7.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00106/0.711, allocations: 215.9 kB / 0.6223 GB, free: 6.871 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002269/0.7133, allocations: 1.454 MB / 0.6238 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009543/0.7143, allocations: 219.5 kB / 0.624 GB, free: 5.148 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.7143, allocations: 5.875 kB / 0.624 GB, free: 5.145 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.7146, allocations: 79.84 kB / 0.6241 GB, free: 5.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.7153, allocations: 56.41 kB / 0.6241 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/0.7204, allocations: 5.871 MB / 0.6298 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.7209, allocations: 0.7328 MB / 0.6306 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.7213, allocations: 87.39 kB / 0.6306 GB, free: 14.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.412e-06/0.7213, allocations: 0 / 0.6306 GB, free: 14.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.94/3.661, allocations: 6.663 MB / 0.6372 GB, free: 7.418 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat