Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001726, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00193/0.00193, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2423/0.2423, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 78.8 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1261, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4029/0.529, allocations: 152.6 MB / 0.6179 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.5323, allocations: 2.183 MB / 0.6201 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.5325, allocations: 0 / 0.6201 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.5329, allocations: 62.08 kB / 0.6201 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.5346, allocations: 0.6284 MB / 0.6207 GB, free: 7.789 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.535, allocations: 101.1 kB / 0.6208 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.5354, allocations: 267 kB / 0.6211 GB, free: 7.434 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.5355, allocations: 14.77 kB / 0.6211 GB, free: 7.422 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.5358, allocations: 147.4 kB / 0.6213 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.5361, allocations: 91.66 kB / 0.6213 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.5361, allocations: 8 kB / 0.6214 GB, free: 7.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.5383, allocations: 0.9393 MB / 0.6223 GB, free: 6.238 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.5385, allocations: 83.81 kB / 0.6223 GB, free: 6.156 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.5387, allocations: 95.58 kB / 0.6224 GB, free: 6.062 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.54, allocations: 0.6821 MB / 0.6231 GB, free: 5.379 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.54, allocations: 4 kB / 0.6231 GB, free: 5.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.54, allocations: 0 / 0.6231 GB, free: 5.375 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.54, allocations: 0 / 0.6231 GB, free: 5.375 MB / 462.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.0009526/0.541, allocations: 0.5038 MB / 0.6236 GB, free: 4.824 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.541, allocations: 8.031 kB / 0.6236 GB, free: 4.816 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.763e-05/0.5411, allocations: 54.73 kB / 0.6237 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00783/0.5489, allocations: 0.7384 MB / 0.6244 GB, free: 4.016 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.5495, allocations: 284 kB / 0.6247 GB, free: 3.699 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.5496, allocations: 16.25 kB / 0.6247 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5497, allocations: 16 kB / 0.6247 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.5513, allocations: 0.7084 MB / 0.6254 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5513, allocations: 0 / 0.6254 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.904e-05/0.5514, allocations: 4 kB / 0.6254 GB, free: 2.945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.5515, allocations: 8 kB / 0.6254 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003591/0.5551, allocations: 0.9212 MB / 0.6263 GB, free: 2.016 MB / 462.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.008666/0.5638, allocations: 2.004 MB / 0.6282 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.5659, allocations: 0.512 MB / 0.6287 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.5671, allocations: 329.5 kB / 0.6291 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.5686, allocations: 379.2 kB / 0.6294 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.5687, allocations: 42.5 kB / 0.6295 GB, free: 14.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 4.228e-06/0.5687, allocations: 0 / 0.6295 GB, free: 14.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.003159/0.5719, allocations: 0.8842 MB / 0.6303 GB, free: 13.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.5719, allocations: 81.27 kB / 0.6304 GB, free: 13.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.5721, allocations: 133.7 kB / 0.6305 GB, free: 13.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.5722, allocations: 29.7 kB / 0.6306 GB, free: 13.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/0.5723, allocations: 124.3 kB / 0.6307 GB, free: 13.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.5724, allocations: 106.5 kB / 0.6308 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.5726, allocations: 69.67 kB / 0.6308 GB, free: 13.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5728, allocations: 330.8 kB / 0.6312 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.5735, allocations: 291.8 kB / 0.6314 GB, free: 12.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008249/0.5743, allocations: 408.4 kB / 0.6318 GB, free: 11.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.5759, allocations: 0.6919 MB / 0.6325 GB, free: 11.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.576, allocations: 3.938 kB / 0.6325 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001925/0.5779, allocations: 0.7434 MB / 0.6332 GB, free: 10.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.5779, allocations: 8 kB / 0.6332 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5779, allocations: 4.625 kB / 0.6332 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.578, allocations: 7.984 kB / 0.6333 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.5792, allocations: 95.86 kB / 0.6333 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.5792, allocations: 7.938 kB / 0.6333 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009381/0.5802, allocations: 51.73 kB / 0.6334 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.5803, allocations: 16.86 kB / 0.6334 GB, free: 10.29 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002937/0.5806, allocations: 153.7 kB / 0.6336 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.5808, allocations: 15.81 kB / 0.6336 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.583, allocations: 0.7738 MB / 0.6343 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.5831, allocations: 8 kB / 0.6343 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.5831, allocations: 0 / 0.6343 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.5831, allocations: 4.547 kB / 0.6343 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.5845, allocations: 0.8021 MB / 0.6351 GB, free: 8.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5845, allocations: 3.938 kB / 0.6351 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.5857, allocations: 80.48 kB / 0.6352 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.5857, allocations: 3.938 kB / 0.6352 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.5858, allocations: 15.98 kB / 0.6352 GB, free: 8.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.5858, allocations: 0 / 0.6352 GB, free: 8.316 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5858, allocations: 4 kB / 0.6352 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.5882, allocations: 0.9655 MB / 0.6362 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.5882, allocations: 92.95 kB / 0.6363 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.5883, allocations: 8 kB / 0.6363 GB, free: 7.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.5894, allocations: 31.94 kB / 0.6363 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.5894, allocations: 19.97 kB / 0.6363 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.5895, allocations: 19.98 kB / 0.6363 GB, free: 7.145 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.473e-05/0.5896, allocations: 109.7 kB / 0.6364 GB, free: 7.039 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5896, allocations: 0 / 0.6364 GB, free: 7.039 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009203/0.5905, allocations: 183.8 kB / 0.6366 GB, free: 6.859 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003529/0.5941, allocations: 1.75 MB / 0.6383 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.5958, allocations: 0.6851 MB / 0.639 GB, free: 4.398 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.5958, allocations: 0 / 0.639 GB, free: 4.398 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.5966, allocations: 331.7 kB / 0.6393 GB, free: 4.074 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/0.5974, allocations: 85.05 kB / 0.6394 GB, free: 3.992 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007154/0.6046, allocations: 3.685 MB / 0.643 GB, free: 136 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.6051, allocations: 0.7363 MB / 0.6437 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001497/0.6066, allocations: 173.8 kB / 0.6439 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.6069, allocations: 71.38 kB / 0.6439 GB, free: 15.13 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.607, allocations: 0 / 0.6439 GB, free: 15.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.6474, allocations: 12.72 MB / 0.6564 GB, free: 2.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.847, allocations: 4.938 kB / 0.6564 GB, free: 2.461 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)