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.0008564/0.0008618, allocations: 97.25 kB / 15.7 MB, free: 468 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.001167/0.001166, allocations: 172.8 kB / 16.58 MB, free: 6.848 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.624/1.624, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.4185/0.4185, allocations: 43.55 MB / 314.6 MB, free: 9.023 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.000603/0.0006031, allocations: 16 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1354, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4353/0.5707, allocations: 137 MB / 0.5662 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.5729, allocations: 1.933 MB / 0.5681 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.573, allocations: 0 / 0.5681 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.5732, allocations: 35.81 kB / 0.5682 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009558/0.5742, allocations: 434.6 kB / 0.5686 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.5744, allocations: 83.81 kB / 0.5687 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.5748, allocations: 306.9 kB / 0.5689 GB, free: 236 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.5749, allocations: 10.64 kB / 0.569 GB, free: 228 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.5751, allocations: 119.5 kB / 0.5691 GB, free: 108 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.5753, allocations: 107.8 kB / 0.5692 GB, free: 16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.5753, allocations: 7.984 kB / 0.5692 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.5767, allocations: 0.854 MB / 0.57 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.5769, allocations: 87.75 kB / 0.5701 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.5769, allocations: 57.64 kB / 0.5702 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.5775, allocations: 485.3 kB / 0.5706 GB, free: 14.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5775, allocations: 7.938 kB / 0.5706 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5775, allocations: 0 / 0.5706 GB, free: 14.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.5775, allocations: 0 / 0.5706 GB, free: 14.51 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006822/0.5782, allocations: 463 kB / 0.5711 GB, free: 14.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5783, allocations: 8.031 kB / 0.5711 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.509e-05/0.5783, allocations: 61.28 kB / 0.5711 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00577/0.5841, allocations: 0.7231 MB / 0.5718 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.5845, allocations: 274.8 kB / 0.5721 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.5845, allocations: 16.27 kB / 0.5721 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/0.5846, allocations: 17.72 kB / 0.5721 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5859, allocations: 0.7112 MB / 0.5728 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5859, allocations: 0 / 0.5728 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.586, allocations: 8 kB / 0.5728 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.586, allocations: 11.98 kB / 0.5728 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.5879, allocations: 0.925 MB / 0.5737 GB, free: 11.21 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.004203/0.5921, allocations: 1.989 MB / 0.5757 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.5931, allocations: 0.5009 MB / 0.5762 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.5937, allocations: 326.9 kB / 0.5765 GB, free: 8.207 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006206/0.5944, allocations: 270.1 kB / 0.5767 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5944, allocations: 38.56 kB / 0.5768 GB, free: 7.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.5944, allocations: 0 / 0.5768 GB, free: 7.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002006/0.5964, allocations: 0.888 MB / 0.5777 GB, free: 6.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.5965, allocations: 85.11 kB / 0.5777 GB, free: 6.863 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.5966, allocations: 129.8 kB / 0.5779 GB, free: 6.727 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.5967, allocations: 29.7 kB / 0.5779 GB, free: 6.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.5968, allocations: 120.5 kB / 0.578 GB, free: 6.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.5969, allocations: 102.5 kB / 0.5781 GB, free: 6.469 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.5969, allocations: 4 kB / 0.5781 GB, free: 6.465 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5971, allocations: 330.8 kB / 0.5784 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.5977, allocations: 299.8 kB / 0.5787 GB, free: 5.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.5983, allocations: 404.6 kB / 0.5791 GB, free: 5.398 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.5989, allocations: 322.8 kB / 0.5794 GB, free: 5.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5989, allocations: 1.125 kB / 0.5794 GB, free: 5.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001482/0.6004, allocations: 0.7391 MB / 0.5801 GB, free: 4.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6005, allocations: 8 kB / 0.5801 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6005, allocations: 3.938 kB / 0.5801 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6005, allocations: 8 kB / 0.5801 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.6014, allocations: 104.2 kB / 0.5802 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.6014, allocations: 4 kB / 0.5802 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.6021, allocations: 51.73 kB / 0.5803 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.6022, allocations: 24.73 kB / 0.5803 GB, free: 4.141 MB / 446.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.0001922/0.6024, allocations: 161.6 kB / 0.5805 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6025, allocations: 15.81 kB / 0.5805 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.6043, allocations: 0.7684 MB / 0.5812 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6043, allocations: 4 kB / 0.5812 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6044, allocations: 4.5 kB / 0.5812 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6044, allocations: 0 / 0.5812 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.6053, allocations: 0.8174 MB / 0.582 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6053, allocations: 0 / 0.582 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/0.6062, allocations: 84.97 kB / 0.5821 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.6062, allocations: 4 kB / 0.5821 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.6062, allocations: 11.98 kB / 0.5821 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.6063, allocations: 4 kB / 0.5821 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6063, allocations: 3.938 kB / 0.5821 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.608, allocations: 0.9729 MB / 0.5831 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.6081, allocations: 96.84 kB / 0.5832 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.6082, allocations: 8 kB / 0.5832 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.609, allocations: 36.52 kB / 0.5832 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.609, allocations: 15.97 kB / 0.5832 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/0.6091, allocations: 23.92 kB / 0.5833 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.103e-05/0.6091, allocations: 107.2 kB / 0.5834 GB, free: 0.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6091, allocations: 0 / 0.5834 GB, free: 0.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006851/0.6098, allocations: 171.9 kB / 0.5835 GB, free: 0.707 MB / 446.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.002605/0.6124, allocations: 1.692 MB / 0.5852 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.6138, allocations: 0.6486 MB / 0.5858 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6138, allocations: 0 / 0.5858 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000634/0.6145, allocations: 335.8 kB / 0.5861 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.6152, allocations: 90.81 kB / 0.5862 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.6194, allocations: 2.371 MB / 0.5885 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.6198, allocations: 0.7329 MB / 0.5893 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001284/0.6211, allocations: 177.8 kB / 0.5894 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.6214, allocations: 75.31 kB / 0.5895 GB, free: 10.47 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6214, allocations: 0 / 0.5895 GB, free: 10.47 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.6456, allocations: 11.99 MB / 0.6012 GB, free: 14.5 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.6459, allocations: 182.3 kB / 0.6014 GB, free: 14.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.597, allocations: 3.938 kB / 0.6014 GB, free: 14.25 MB / 478.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