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.000771/0.0007712, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009812/0.0009812, allocations: 175.2 kB / 16.58 MB, free: 6.84 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.622/1.622, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3647/0.3647, allocations: 43.54 MB / 314.6 MB, free: 8.781 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.0005295/0.0005296, allocations: 12 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1322, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4563/0.5885, allocations: 137.3 MB / 0.5666 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006146/0.5947, allocations: 4.352 MB / 0.5708 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.595, allocations: 4 kB / 0.5708 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.5954, allocations: 35.78 kB / 0.5709 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005432/0.6008, allocations: 1.242 MB / 0.5721 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.6013, allocations: 131.9 kB / 0.5722 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008853/0.6022, allocations: 410.1 kB / 0.5726 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.6023, allocations: 20.31 kB / 0.5726 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.6028, allocations: 167.3 kB / 0.5728 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005734/0.6034, allocations: 171.5 kB / 0.5729 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.501e-05/0.6035, allocations: 8 kB / 0.5729 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.607, allocations: 1.096 MB / 0.574 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.6071, allocations: 43.81 kB / 0.5741 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.6073, allocations: 57.64 kB / 0.5741 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.6091, allocations: 0.6495 MB / 0.5748 GB, free: 10.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.6091, allocations: 4 kB / 0.5748 GB, free: 10.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.439e-06/0.6091, allocations: 0 / 0.5748 GB, free: 10.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.6092, allocations: 0 / 0.5748 GB, free: 10.1 MB / 446.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.001816/0.611, allocations: 0.6551 MB / 0.5754 GB, free: 9.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.6111, allocations: 8.031 kB / 0.5754 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.6112, allocations: 62.53 kB / 0.5755 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006366/0.6176, allocations: 0.5909 MB / 0.576 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.6181, allocations: 266.6 kB / 0.5763 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.6182, allocations: 119.9 kB / 0.5764 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.6184, allocations: 28 kB / 0.5764 GB, free: 8.266 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.6196, allocations: 0.5621 MB / 0.577 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.6196, allocations: 4 kB / 0.577 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.6197, allocations: 8 kB / 0.577 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.6197, allocations: 8 kB / 0.577 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.6211, allocations: 0.6221 MB / 0.5776 GB, free: 7.035 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.002072/0.6232, allocations: 1.63 MB / 0.5792 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.6235, allocations: 154.5 kB / 0.5793 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.6237, allocations: 76.88 kB / 0.5794 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002114/0.6258, allocations: 2.094 MB / 0.5815 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.6259, allocations: 35.56 kB / 0.5815 GB, free: 2.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 3.567e-06/0.6259, allocations: 0 / 0.5815 GB, free: 2.559 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.0009661/0.6268, allocations: 337.4 kB / 0.5818 GB, free: 2.223 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.6269, allocations: 55.41 kB / 0.5819 GB, free: 2.156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.6271, allocations: 186.1 kB / 0.5821 GB, free: 1.961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.6271, allocations: 33.7 kB / 0.5821 GB, free: 1.922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.6273, allocations: 187.2 kB / 0.5823 GB, free: 1.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.6273, allocations: 67 kB / 0.5823 GB, free: 1.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.6273, allocations: 12 kB / 0.5823 GB, free: 1.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6275, allocations: 326.8 kB / 0.5827 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.6276, allocations: 68.64 kB / 0.5827 GB, free: 1.262 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.6279, allocations: 259.8 kB / 0.583 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.6281, allocations: 103.9 kB / 0.5831 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6281, allocations: 0 / 0.5831 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006274/0.6288, allocations: 363 kB / 0.5834 GB, free: 464 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6288, allocations: 8 kB / 0.5834 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6288, allocations: 12.06 kB / 0.5834 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.6288, allocations: 12 kB / 0.5834 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.6292, allocations: 119.8 kB / 0.5836 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004023/0.6297, allocations: 0.6094 MB / 0.5841 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.6299, allocations: 43.59 kB / 0.5842 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.63, allocations: 39.98 kB / 0.5842 GB, free: 15.59 MB / 462.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.0001508/0.6301, allocations: 149.7 kB / 0.5844 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.6302, allocations: 19.81 kB / 0.5844 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007679/0.631, allocations: 331.4 kB / 0.5847 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.631, allocations: 3.953 kB / 0.5847 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.631, allocations: 0 / 0.5847 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.631, allocations: 0 / 0.5847 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.6317, allocations: 0.5181 MB / 0.5852 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6317, allocations: 7.938 kB / 0.5852 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.6319, allocations: 55.97 kB / 0.5853 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6319, allocations: 0 / 0.5853 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.6319, allocations: 4 kB / 0.5853 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003058/0.6322, allocations: 0.6017 MB / 0.5859 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.6323, allocations: 4.031 kB / 0.5859 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.6326, allocations: 286.4 kB / 0.5861 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.6327, allocations: 116.8 kB / 0.5863 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.6328, allocations: 5.062 kB / 0.5863 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.633, allocations: 11.98 kB / 0.5863 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.633, allocations: 15.94 kB / 0.5863 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.6331, allocations: 20 kB / 0.5863 GB, free: 13.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.6332, allocations: 133.9 kB / 0.5864 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6332, allocations: 0 / 0.5864 GB, free: 13.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007541/0.634, allocations: 207.8 kB / 0.5866 GB, free: 12.96 MB / 462.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.001426/0.6354, allocations: 1.043 MB / 0.5877 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.6359, allocations: 225.1 kB / 0.5879 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6359, allocations: 0 / 0.5879 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.6361, allocations: 83.89 kB / 0.5879 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.6366, allocations: 55.62 kB / 0.588 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.6408, allocations: 2.841 MB / 0.5908 GB, free: 8.551 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.6411, allocations: 0.7247 MB / 0.5915 GB, free: 7.801 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005351/0.6417, allocations: 102.3 kB / 0.5916 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.6419, allocations: 75.39 kB / 0.5917 GB, free: 7.629 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6419, allocations: 0 / 0.5917 GB, free: 7.629 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.6661, allocations: 8.03 MB / 0.5995 GB, free: 15.67 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.6663, allocations: 247.1 kB / 0.5997 GB, free: 15.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.561, allocations: 0 / 0.5997 GB, free: 15.36 MB / 478.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