Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_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.001292/0.001292, allocations: 96.28 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.001723/0.001723, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.949/1.949, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4435/0.4436, allocations: 43.54 MB / 314.5 MB, free: 9.043 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.0006044/0.0006045, allocations: 12 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1531, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4598/0.613, allocations: 126.4 MB / 0.5559 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008389/0.6214, allocations: 6.82 MB / 0.5625 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.6218, allocations: 0 / 0.5625 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.6221, allocations: 57.39 kB / 0.5626 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00567/0.6278, allocations: 1.741 MB / 0.5643 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.6282, allocations: 133.5 kB / 0.5644 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.6288, allocations: 323.8 kB / 0.5647 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.15e-05/0.6289, allocations: 22.95 kB / 0.5647 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.6294, allocations: 295 kB / 0.565 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006895/0.6301, allocations: 363.4 kB / 0.5654 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.6302, allocations: 8 kB / 0.5654 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007018/0.6372, allocations: 2.644 MB / 0.568 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.6374, allocations: 151.6 kB / 0.5681 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.6376, allocations: 105.5 kB / 0.5682 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.6402, allocations: 1.254 MB / 0.5694 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6402, allocations: 0 / 0.5694 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6402, allocations: 4 kB / 0.5694 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.6402, allocations: 0 / 0.5694 GB, free: 15.62 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001986/0.6422, allocations: 0.8423 MB / 0.5703 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.6422, allocations: 12.03 kB / 0.5703 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.6424, allocations: 86.52 kB / 0.5703 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/0.6459, allocations: 0.5105 MB / 0.5708 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.6465, allocations: 324.2 kB / 0.5712 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.6467, allocations: 131.5 kB / 0.5713 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/0.6468, allocations: 28 kB / 0.5713 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.6483, allocations: 1.105 MB / 0.5724 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6483, allocations: 0 / 0.5724 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/0.6484, allocations: 23.94 kB / 0.5724 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.281e-05/0.6485, allocations: 56.97 kB / 0.5725 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.6516, allocations: 2.268 MB / 0.5747 GB, free: 10.1 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.003517/0.6551, allocations: 2.451 MB / 0.5771 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.6554, allocations: 127.3 kB / 0.5772 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/0.6569, allocations: 1.195 MB / 0.5784 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.6569, allocations: 38.73 kB / 0.5784 GB, free: 5.953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.6569, allocations: 0 / 0.5784 GB, free: 5.953 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=22): time 0.001217/0.6582, allocations: 358.9 kB / 0.5787 GB, free: 5.598 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.6582, allocations: 59.34 kB / 0.5788 GB, free: 5.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.6586, allocations: 344.2 kB / 0.5791 GB, free: 5.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.6586, allocations: 29.7 kB / 0.5792 GB, free: 5.148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.6589, allocations: 345.5 kB / 0.5795 GB, free: 4.805 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.6589, allocations: 90.92 kB / 0.5796 GB, free: 4.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.659, allocations: 16 kB / 0.5796 GB, free: 4.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6591, allocations: 338.8 kB / 0.5799 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.6593, allocations: 121.9 kB / 0.58 GB, free: 4.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.6598, allocations: 0.5646 MB / 0.5806 GB, free: 3.449 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.6601, allocations: 227.7 kB / 0.5808 GB, free: 3.227 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.6602, allocations: 8 kB / 0.5808 GB, free: 3.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001258/0.6614, allocations: 0.7304 MB / 0.5815 GB, free: 2.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.6615, allocations: 12.19 kB / 0.5815 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.6615, allocations: 27.92 kB / 0.5816 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.543e-05/0.6615, allocations: 20.5 kB / 0.5816 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.662, allocations: 183.7 kB / 0.5817 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004933/0.6626, allocations: 0.6094 MB / 0.5823 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.663, allocations: 94.97 kB / 0.5824 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/0.6631, allocations: 64.98 kB / 0.5825 GB, free: 1.457 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.0002388/0.6634, allocations: 213.5 kB / 0.5827 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.6637, allocations: 87.55 kB / 0.5828 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.6643, allocations: 276.7 kB / 0.583 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.6643, allocations: 11.98 kB / 0.5831 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6643, allocations: 0 / 0.5831 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6643, allocations: 0 / 0.5831 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.6653, allocations: 0.7298 MB / 0.5838 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6653, allocations: 0 / 0.5838 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.6655, allocations: 45.44 kB / 0.5838 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.6655, allocations: 7.953 kB / 0.5838 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.6655, allocations: 8 kB / 0.5838 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002748/0.6658, allocations: 0.5863 MB / 0.5844 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6658, allocations: 8.031 kB / 0.5844 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.6662, allocations: 410.2 kB / 0.5848 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.6663, allocations: 120.7 kB / 0.5849 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.6664, allocations: 15.92 kB / 0.5849 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.6666, allocations: 15.89 kB / 0.5849 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.6667, allocations: 15.98 kB / 0.585 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.6667, allocations: 23.11 kB / 0.585 GB, free: 14.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.6669, allocations: 223 kB / 0.5852 GB, free: 14.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6669, allocations: 0 / 0.5852 GB, free: 14.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001383/0.6683, allocations: 383.8 kB / 0.5856 GB, free: 14.05 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.002465/0.6708, allocations: 2.035 MB / 0.5875 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000659/0.6715, allocations: 350.2 kB / 0.5879 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6715, allocations: 0 / 0.5879 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.6716, allocations: 65.47 kB / 0.5879 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.6721, allocations: 69.19 kB / 0.588 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006566/0.6786, allocations: 12.94 MB / 0.6006 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.6791, allocations: 0.8037 MB / 0.6014 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005901/0.6797, allocations: 166.6 kB / 0.6016 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.6799, allocations: 111.4 kB / 0.6017 GB, free: 13.05 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6799, allocations: 0 / 0.6017 GB, free: 13.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.712, allocations: 13.88 MB / 0.6152 GB, free: 15.23 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.7123, allocations: 265.1 kB / 0.6155 GB, free: 14.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.053, allocations: 4 kB / 0.6155 GB, free: 14.87 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat