Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",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.00138/0.00138, allocations: 101.7 kB / 16.98 MB, free: 5.938 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.001547/0.001547, allocations: 185.5 kB / 17.88 MB, free: 5.594 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.463/1.463, allocations: 223.2 MB / 241.8 MB, free: 400 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.2528/0.2528, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 61.91 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4325/0.568, allocations: 126.4 MB / 0.5839 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006482/0.5745, allocations: 6.223 MB / 0.5899 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.5747, allocations: 4 kB / 0.59 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.5749, allocations: 55.7 kB / 0.59 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.5783, allocations: 1.512 MB / 0.5915 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.5786, allocations: 138.1 kB / 0.5916 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000452/0.5791, allocations: 327.8 kB / 0.5919 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.5792, allocations: 16.31 kB / 0.5919 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.5796, allocations: 291.1 kB / 0.5922 GB, free: 11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.5802, allocations: 363.4 kB / 0.5926 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.5803, allocations: 8 kB / 0.5926 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004996/0.5853, allocations: 2.352 MB / 0.5949 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.5854, allocations: 151.6 kB / 0.595 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.5855, allocations: 105.5 kB / 0.5951 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.5873, allocations: 1.153 MB / 0.5962 GB, free: 6.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.5873, allocations: 4 kB / 0.5962 GB, free: 6.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5873, allocations: 0 / 0.5962 GB, free: 6.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5873, allocations: 0 / 0.5962 GB, free: 6.871 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00204/0.5894, allocations: 0.8902 MB / 0.5971 GB, free: 5.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5894, allocations: 15.97 kB / 0.5971 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.5896, allocations: 90.52 kB / 0.5972 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00368/0.5932, allocations: 0.5184 MB / 0.5977 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.5938, allocations: 330.4 kB / 0.598 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.5939, allocations: 131.5 kB / 0.5982 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.594, allocations: 32 kB / 0.5982 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.5955, allocations: 1.097 MB / 0.5993 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.5955, allocations: 8 kB / 0.5993 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/0.5956, allocations: 15.98 kB / 0.5993 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-05/0.5957, allocations: 56.97 kB / 0.5993 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.5986, allocations: 2.263 MB / 0.6016 GB, free: 1.273 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.003291/0.6019, allocations: 2.618 MB / 0.6041 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.6021, allocations: 102.5 kB / 0.6042 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.6034, allocations: 1.221 MB / 0.6054 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.6035, allocations: 38.55 kB / 0.6054 GB, free: 12.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.6035, allocations: 7.938 kB / 0.6054 GB, free: 12.9 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=16): time 0.0009868/0.6045, allocations: 300.3 kB / 0.6057 GB, free: 12.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.6045, allocations: 51.41 kB / 0.6058 GB, free: 12.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.6049, allocations: 379.9 kB / 0.6061 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.6049, allocations: 33.7 kB / 0.6062 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.6051, allocations: 357.2 kB / 0.6065 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.6052, allocations: 71.17 kB / 0.6066 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.6052, allocations: 12 kB / 0.6066 GB, free: 11.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6053, allocations: 342.8 kB / 0.6069 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.6055, allocations: 117.9 kB / 0.607 GB, free: 11.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.6059, allocations: 0.5686 MB / 0.6076 GB, free: 10.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.6062, allocations: 226.2 kB / 0.6078 GB, free: 10.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.6063, allocations: 8 kB / 0.6078 GB, free: 10.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001229/0.6075, allocations: 0.7395 MB / 0.6085 GB, free: 9.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.6075, allocations: 12 kB / 0.6085 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.6076, allocations: 19.94 kB / 0.6086 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/0.6076, allocations: 24 kB / 0.6086 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.6081, allocations: 175.7 kB / 0.6088 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003387/0.6084, allocations: 0.629 MB / 0.6094 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.6089, allocations: 91.06 kB / 0.6095 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.609, allocations: 63.98 kB / 0.6095 GB, free: 8.438 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0001898/0.6092, allocations: 202 kB / 0.6097 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.6095, allocations: 87.59 kB / 0.6098 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.6099, allocations: 205.4 kB / 0.61 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.6099, allocations: 4 kB / 0.61 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6099, allocations: 4 kB / 0.61 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6099, allocations: 0 / 0.61 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.6105, allocations: 0.5422 MB / 0.6105 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6105, allocations: 192 / 0.6105 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.6107, allocations: 31.98 kB / 0.6106 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.6107, allocations: 4 kB / 0.6106 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.6107, allocations: 4 kB / 0.6106 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002517/0.611, allocations: 0.5898 MB / 0.6111 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.611, allocations: 4.031 kB / 0.6111 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.6112, allocations: 335.4 kB / 0.6115 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.6114, allocations: 136 kB / 0.6116 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.6114, allocations: 4 kB / 0.6116 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.6117, allocations: 8 kB / 0.6116 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.6117, allocations: 15.94 kB / 0.6116 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.6118, allocations: 15.98 kB / 0.6116 GB, free: 6.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.612, allocations: 239.2 kB / 0.6119 GB, free: 5.824 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.612, allocations: 0 / 0.6119 GB, free: 5.824 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001146/0.6131, allocations: 335.7 kB / 0.6122 GB, free: 5.496 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * 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.001898/0.6151, allocations: 1.646 MB / 0.6138 GB, free: 3.797 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.6157, allocations: 347.2 kB / 0.6141 GB, free: 3.461 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6157, allocations: 4 kB / 0.6141 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.6158, allocations: 39.92 kB / 0.6142 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.6162, allocations: 57.97 kB / 0.6142 GB, free: 3.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007194/0.6234, allocations: 12.89 MB / 0.6268 GB, free: 6.082 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.6238, allocations: 0.796 MB / 0.6276 GB, free: 5.262 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000725/0.6245, allocations: 235.1 kB / 0.6278 GB, free: 5.031 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.6247, allocations: 111.4 kB / 0.6279 GB, free: 4.922 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6248, allocations: 0 / 0.6279 GB, free: 4.922 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.6524, allocations: 12.11 MB / 0.6397 GB, free: 8.996 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.6526, allocations: 265 kB / 0.64 GB, free: 8.641 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.817, allocations: 3.094 kB / 0.64 GB, free: 8.641 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat