Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_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.0009662/0.0009661, allocations: 97.3 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.001386/0.001386, allocations: 174.3 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.936/1.936, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4187/0.4187, allocations: 43.54 MB / 314.5 MB, free: 8.727 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.0004991/0.0004992, allocations: 18.97 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1515, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.447/0.5985, allocations: 126.2 MB / 0.5557 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007257/0.6058, allocations: 5.484 MB / 0.561 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.606, allocations: 4 kB / 0.561 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.6063, allocations: 41.44 kB / 0.5611 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.6105, allocations: 1.271 MB / 0.5623 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.6108, allocations: 131.3 kB / 0.5624 GB, free: 6.574 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.6114, allocations: 267.4 kB / 0.5627 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.6115, allocations: 16.34 kB / 0.5627 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.6118, allocations: 167.5 kB / 0.5629 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.6121, allocations: 155.5 kB / 0.563 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.6121, allocations: 4 kB / 0.563 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/0.6157, allocations: 1.209 MB / 0.5642 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.699e-05/0.6158, allocations: 43.83 kB / 0.5643 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.23e-05/0.6159, allocations: 61.64 kB / 0.5643 GB, free: 4.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.6172, allocations: 0.6492 MB / 0.5649 GB, free: 4.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6172, allocations: 0 / 0.5649 GB, free: 4.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6172, allocations: 0 / 0.5649 GB, free: 4.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.6172, allocations: 0 / 0.5649 GB, free: 4.023 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.001375/0.6186, allocations: 0.6552 MB / 0.5656 GB, free: 3.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6187, allocations: 12.03 kB / 0.5656 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.588e-05/0.6187, allocations: 58.48 kB / 0.5657 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007272/0.626, allocations: 0.595 MB / 0.5662 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.6266, allocations: 258.7 kB / 0.5665 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.6268, allocations: 123.4 kB / 0.5666 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.6269, allocations: 20 kB / 0.5666 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.6281, allocations: 0.5583 MB / 0.5672 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6281, allocations: 3.938 kB / 0.5672 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.6282, allocations: 16 kB / 0.5672 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.6283, allocations: 5.062 kB / 0.5672 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.6297, allocations: 0.626 MB / 0.5678 GB, free: 0.9609 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.002217/0.6319, allocations: 1.622 MB / 0.5694 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.6322, allocations: 158.5 kB / 0.5695 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.6336, allocations: 1.203 MB / 0.5707 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.6337, allocations: 38.56 kB / 0.5707 GB, free: 13.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.923e-06/0.6337, allocations: 0 / 0.5707 GB, free: 13.59 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=20): time 0.001026/0.6347, allocations: 333.4 kB / 0.5711 GB, free: 13.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.6348, allocations: 55.34 kB / 0.5711 GB, free: 13.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.635, allocations: 182.2 kB / 0.5713 GB, free: 13.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.635, allocations: 33.7 kB / 0.5713 GB, free: 12.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.6352, allocations: 187.2 kB / 0.5715 GB, free: 12.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.6353, allocations: 75 kB / 0.5716 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.6353, allocations: 8 kB / 0.5716 GB, free: 12.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6354, allocations: 326.8 kB / 0.5719 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.6356, allocations: 64.7 kB / 0.572 GB, free: 12.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.6359, allocations: 263.8 kB / 0.5722 GB, free: 11.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.6361, allocations: 103.9 kB / 0.5723 GB, free: 11.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6361, allocations: 0 / 0.5723 GB, free: 11.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000589/0.6367, allocations: 365.3 kB / 0.5726 GB, free: 11.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.6367, allocations: 11.94 kB / 0.5727 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.6367, allocations: 8.828 kB / 0.5727 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.6367, allocations: 15.95 kB / 0.5727 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.6372, allocations: 119.9 kB / 0.5728 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004044/0.6376, allocations: 0.6094 MB / 0.5734 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.6378, allocations: 40.22 kB / 0.5734 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.6379, allocations: 39.98 kB / 0.5735 GB, free: 10.63 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.000158/0.6381, allocations: 145.8 kB / 0.5736 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.6381, allocations: 23.77 kB / 0.5736 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008434/0.639, allocations: 328.5 kB / 0.5739 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.639, allocations: 7.938 kB / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.639, allocations: 0 / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.639, allocations: 0 / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000758/0.6398, allocations: 0.518 MB / 0.5745 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6398, allocations: 0 / 0.5745 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.64, allocations: 56.47 kB / 0.5745 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.64, allocations: 4 kB / 0.5745 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.6401, allocations: 8 kB / 0.5745 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/0.6404, allocations: 0.6047 MB / 0.5751 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6405, allocations: 0.875 kB / 0.5751 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.6409, allocations: 340.1 kB / 0.5754 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.641, allocations: 112.8 kB / 0.5755 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.6411, allocations: 4 kB / 0.5756 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.6413, allocations: 15.98 kB / 0.5756 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.6414, allocations: 19.94 kB / 0.5756 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.6414, allocations: 15.98 kB / 0.5756 GB, free: 8.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.6415, allocations: 137.9 kB / 0.5757 GB, free: 8.117 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6415, allocations: 0 / 0.5757 GB, free: 8.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000829/0.6424, allocations: 204 kB / 0.5759 GB, free: 7.918 MB / 446.1 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.001599/0.644, allocations: 1.461 MB / 0.5774 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.6445, allocations: 221.3 kB / 0.5776 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6445, allocations: 128 / 0.5776 GB, free: 6.195 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.6447, allocations: 87.83 kB / 0.5776 GB, free: 6.109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.6451, allocations: 54.61 kB / 0.5777 GB, free: 6.059 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.6494, allocations: 5.842 MB / 0.5834 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.6499, allocations: 0.725 MB / 0.5841 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005802/0.6504, allocations: 99.84 kB / 0.5842 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.6506, allocations: 75.39 kB / 0.5843 GB, free: 15.11 MB / 462.1 MB Notification: Performance of SimCode: time 1.373e-06/0.6506, allocations: 0 / 0.5843 GB, free: 15.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.6764, allocations: 8.014 MB / 0.5921 GB, free: 7.172 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/0.6768, allocations: 242.4 kB / 0.5923 GB, free: 6.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.688, allocations: 4 kB / 0.5923 GB, free: 6.926 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat