Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.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.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",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.0007845/0.0007846, allocations: 98.34 kB / 17 MB, free: 6.414 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.0007959/0.0007959, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.385/1.385, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 44.22 MB / 337.2 MB, free: 2.531 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 8 kB / 409.7 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 61.92 MB / 471.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4209/0.5603, allocations: 136.2 MB / 0.5936 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005463/0.5658, allocations: 4.908 MB / 0.5984 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.566, allocations: 0 / 0.5984 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.5663, allocations: 43.78 kB / 0.5984 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.569, allocations: 1.038 MB / 0.5994 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.5693, allocations: 132.8 kB / 0.5996 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005199/0.5699, allocations: 414 kB / 0.6 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.5699, allocations: 25.61 kB / 0.6 GB, free: 4.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.5702, allocations: 163.4 kB / 0.6001 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.5704, allocations: 171.5 kB / 0.6003 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.5705, allocations: 8 kB / 0.6003 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.5724, allocations: 0.9346 MB / 0.6012 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.5724, allocations: 47.81 kB / 0.6013 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.5725, allocations: 57.64 kB / 0.6013 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008351/0.5734, allocations: 0.5792 MB / 0.6019 GB, free: 2.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5734, allocations: 3.938 kB / 0.6019 GB, free: 2.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5734, allocations: 0 / 0.6019 GB, free: 2.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.5734, allocations: 0 / 0.6019 GB, free: 2.391 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001165/0.5746, allocations: 0.6287 MB / 0.6025 GB, free: 1.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5746, allocations: 8.031 kB / 0.6025 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.803e-05/0.5747, allocations: 58.55 kB / 0.6026 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006436/0.5811, allocations: 0.5927 MB / 0.6031 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.5816, allocations: 258.7 kB / 0.6034 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.5817, allocations: 123.4 kB / 0.6035 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/0.5818, allocations: 20 kB / 0.6035 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.583, allocations: 0.5556 MB / 0.6041 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.583, allocations: 0 / 0.6041 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/0.5831, allocations: 12 kB / 0.6041 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.5831, allocations: 12 kB / 0.6041 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.5846, allocations: 0.626 MB / 0.6047 GB, free: 15.35 MB / 446.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.002209/0.5868, allocations: 1.711 MB / 0.6064 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.5872, allocations: 160.8 kB / 0.6065 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.5873, allocations: 76.81 kB / 0.6066 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.5887, allocations: 1.463 MB / 0.608 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.5887, allocations: 42.5 kB / 0.6081 GB, free: 11.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.5887, allocations: 0 / 0.6081 GB, free: 11.46 MB / 446.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.000925/0.5896, allocations: 321.3 kB / 0.6084 GB, free: 11.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.5897, allocations: 59.41 kB / 0.6084 GB, free: 11.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.5899, allocations: 183 kB / 0.6086 GB, free: 10.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.59, allocations: 33.7 kB / 0.6086 GB, free: 10.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5901, allocations: 187.2 kB / 0.6088 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.5901, allocations: 63.11 kB / 0.6089 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.5902, allocations: 4 kB / 0.6089 GB, free: 10.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5903, allocations: 330.8 kB / 0.6092 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.5905, allocations: 68.7 kB / 0.6093 GB, free: 10.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.5908, allocations: 264 kB / 0.6095 GB, free: 9.844 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.591, allocations: 104.7 kB / 0.6096 GB, free: 9.742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.591, allocations: 4 kB / 0.6096 GB, free: 9.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005787/0.5916, allocations: 371.9 kB / 0.61 GB, free: 9.371 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5916, allocations: 8 kB / 0.61 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5916, allocations: 4 kB / 0.61 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.5916, allocations: 15.95 kB / 0.61 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.592, allocations: 123.8 kB / 0.6101 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003823/0.5924, allocations: 0.6058 MB / 0.6107 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.5926, allocations: 43.53 kB / 0.6108 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.5927, allocations: 47.92 kB / 0.6108 GB, free: 8.504 MB / 446.1 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.0001427/0.5929, allocations: 144.6 kB / 0.6109 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.5929, allocations: 23.77 kB / 0.611 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009293/0.5939, allocations: 461.6 kB / 0.6114 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.5939, allocations: 4 kB / 0.6114 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5939, allocations: 0 / 0.6114 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5939, allocations: 0 / 0.6114 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008266/0.5947, allocations: 0.639 MB / 0.612 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5947, allocations: 0 / 0.612 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.5949, allocations: 63.89 kB / 0.6121 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.595, allocations: 256 / 0.6121 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.595, allocations: 16 kB / 0.6121 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003094/0.5953, allocations: 0.5977 MB / 0.6127 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5953, allocations: 7.984 kB / 0.6127 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.5957, allocations: 294.2 kB / 0.613 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.5958, allocations: 112.8 kB / 0.6131 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.5958, allocations: 11.98 kB / 0.6131 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.5961, allocations: 11.95 kB / 0.6131 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.5961, allocations: 19.98 kB / 0.6131 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.5961, allocations: 15.98 kB / 0.6131 GB, free: 5.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.5963, allocations: 135.1 kB / 0.6133 GB, free: 5.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5963, allocations: 0 / 0.6133 GB, free: 5.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006145/0.5969, allocations: 160 kB / 0.6134 GB, free: 5.617 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.001165/0.5981, allocations: 1.017 MB / 0.6144 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004579/0.5985, allocations: 209.3 kB / 0.6146 GB, free: 4.359 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5985, allocations: 4.125 kB / 0.6146 GB, free: 4.355 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.5987, allocations: 87.81 kB / 0.6147 GB, free: 4.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.5992, allocations: 56.58 kB / 0.6148 GB, free: 4.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.6021, allocations: 1.701 MB / 0.6164 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.6025, allocations: 0.725 MB / 0.6171 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008258/0.6033, allocations: 383.3 kB / 0.6175 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.6035, allocations: 91.36 kB / 0.6176 GB, free: 1.129 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6035, allocations: 0 / 0.6176 GB, free: 1.129 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.628, allocations: 7.112 MB / 0.6245 GB, free: 10.17 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.6283, allocations: 253.3 kB / 0.6248 GB, free: 9.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.655, allocations: 0 / 0.6248 GB, free: 9.84 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat