Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",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.001272/0.001272, allocations: 95.97 kB / 15.68 MB, free: 488 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.001362/0.001362, allocations: 175.7 kB / 16.56 MB, free: 6.379 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.831/1.831, allocations: 205.4 MB / 222.7 MB, free: 5.602 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.4041/0.4041, allocations: 43.54 MB / 314.5 MB, free: 8.793 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.0005648/0.0005649, allocations: 12 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1585, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4619/0.6205, allocations: 125.8 MB / 0.5553 GB, free: 13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.6235, allocations: 1.722 MB / 0.557 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.6236, allocations: 0 / 0.557 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.624, allocations: 40.61 kB / 0.557 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.6255, allocations: 442.8 kB / 0.5575 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.6259, allocations: 86.66 kB / 0.5575 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.6262, allocations: 147.3 kB / 0.5577 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.6262, allocations: 14.59 kB / 0.5577 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.6267, allocations: 174 kB / 0.5579 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.6268, allocations: 77.09 kB / 0.5579 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.6269, allocations: 4 kB / 0.5579 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.6284, allocations: 0.7063 MB / 0.5586 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.6285, allocations: 79.45 kB / 0.5587 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.6286, allocations: 61.64 kB / 0.5588 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.6293, allocations: 446.8 kB / 0.5592 GB, free: 9.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6293, allocations: 0 / 0.5592 GB, free: 9.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.6293, allocations: 0 / 0.5592 GB, free: 9.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.6293, allocations: 0 / 0.5592 GB, free: 9.664 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007375/0.6301, allocations: 472.1 kB / 0.5596 GB, free: 9.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.6301, allocations: 12.02 kB / 0.5596 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/0.6302, allocations: 56.36 kB / 0.5597 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.6321, allocations: 260.7 kB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.6325, allocations: 241.3 kB / 0.5602 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.6326, allocations: 16.33 kB / 0.5602 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.6327, allocations: 21.72 kB / 0.5602 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.6336, allocations: 0.4992 MB / 0.5607 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.6336, allocations: 0 / 0.5607 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.6337, allocations: 4 kB / 0.5607 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.6338, allocations: 11.98 kB / 0.5607 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009159/0.6347, allocations: 0.5827 MB / 0.5613 GB, free: 7.645 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.002679/0.6374, allocations: 1.009 MB / 0.5623 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.6378, allocations: 245 kB / 0.5625 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008525/0.6387, allocations: 270.1 kB / 0.5628 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.6388, allocations: 42.8 kB / 0.5628 GB, free: 5.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.6388, allocations: 0 / 0.5628 GB, free: 5.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.002009/0.6408, allocations: 0.5831 MB / 0.5634 GB, free: 5.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.6408, allocations: 89.25 kB / 0.5635 GB, free: 5.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.641, allocations: 133.7 kB / 0.5636 GB, free: 5.141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.6411, allocations: 37.7 kB / 0.5636 GB, free: 5.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.6411, allocations: 116.4 kB / 0.5637 GB, free: 4.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.55e-05/0.6412, allocations: 103.7 kB / 0.5638 GB, free: 4.879 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.6413, allocations: 4 kB / 0.5638 GB, free: 4.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6414, allocations: 330.8 kB / 0.5642 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.6418, allocations: 179.9 kB / 0.5643 GB, free: 4.367 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.6422, allocations: 284.5 kB / 0.5646 GB, free: 4.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.6426, allocations: 218.4 kB / 0.5648 GB, free: 3.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6426, allocations: 0 / 0.5648 GB, free: 3.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009407/0.6435, allocations: 0.5133 MB / 0.5653 GB, free: 3.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.6436, allocations: 11.95 kB / 0.5653 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6436, allocations: 4 kB / 0.5653 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.6436, allocations: 4 kB / 0.5653 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.6442, allocations: 84.23 kB / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.6442, allocations: 17.55 kB / 0.5654 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.6446, allocations: 43.61 kB / 0.5655 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.6447, allocations: 16 kB / 0.5655 GB, free: 3.137 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.6449, allocations: 145.7 kB / 0.5656 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.645, allocations: 27.73 kB / 0.5656 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009762/0.646, allocations: 492.3 kB / 0.5661 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.646, allocations: 4 kB / 0.5661 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.646, allocations: 0.5625 kB / 0.5661 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.646, allocations: 7.938 kB / 0.5661 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/0.6468, allocations: 458.1 kB / 0.5666 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6468, allocations: 3.984 kB / 0.5666 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.6473, allocations: 56.53 kB / 0.5666 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6473, allocations: 3.938 kB / 0.5666 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.6473, allocations: 15.98 kB / 0.5666 GB, free: 1.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.6473, allocations: 3.953 kB / 0.5666 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6473, allocations: 8.688 kB / 0.5667 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.6484, allocations: 0.6887 MB / 0.5673 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.6485, allocations: 96.94 kB / 0.5674 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.6485, allocations: 7.953 kB / 0.5674 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.649, allocations: 31.88 kB / 0.5675 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.6491, allocations: 19.97 kB / 0.5675 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.6491, allocations: 16.48 kB / 0.5675 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.311e-05/0.6492, allocations: 99.25 kB / 0.5676 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6492, allocations: 0 / 0.5676 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007833/0.65, allocations: 155.9 kB / 0.5677 GB, free: 0.7422 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002034/0.6521, allocations: 1.49 MB / 0.5692 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007646/0.6528, allocations: 442.1 kB / 0.5696 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6528, allocations: 0 / 0.5696 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.6532, allocations: 212.1 kB / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.6538, allocations: 101.2 kB / 0.5699 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.6575, allocations: 4.133 MB / 0.5739 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.6578, allocations: 0.7368 MB / 0.5747 GB, free: 9.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006868/0.6585, allocations: 108.3 kB / 0.5748 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.6587, allocations: 67.41 kB / 0.5748 GB, free: 9.336 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6587, allocations: 0 / 0.5748 GB, free: 9.336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.6805, allocations: 9.656 MB / 0.5843 GB, free: 15.74 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.6808, allocations: 174.5 kB / 0.5844 GB, free: 15.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.649, allocations: 4 kB / 0.5844 GB, free: 15.5 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat