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.001293/0.001293, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2363/0.2363, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002417/0.002417, allocations: 78.31 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1209, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3939/0.5148, allocations: 152.6 MB / 0.618 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.5177, allocations: 2.181 MB / 0.6201 GB, free: 8.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.5178, allocations: 0 / 0.6201 GB, free: 8.52 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.5183, allocations: 55.72 kB / 0.6201 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.52, allocations: 0.6293 MB / 0.6207 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.5204, allocations: 110 kB / 0.6209 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.5208, allocations: 259 kB / 0.6211 GB, free: 7.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.5208, allocations: 10.78 kB / 0.6211 GB, free: 7.473 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.5211, allocations: 147.4 kB / 0.6213 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.5213, allocations: 87.72 kB / 0.6213 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.5213, allocations: 16 kB / 0.6214 GB, free: 7.227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.5231, allocations: 0.9392 MB / 0.6223 GB, free: 6.285 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.5232, allocations: 79.81 kB / 0.6223 GB, free: 6.207 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.5234, allocations: 95.64 kB / 0.6224 GB, free: 6.113 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.5244, allocations: 0.682 MB / 0.6231 GB, free: 5.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5244, allocations: 0 / 0.6231 GB, free: 5.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5244, allocations: 0 / 0.6231 GB, free: 5.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.5245, allocations: 4 kB / 0.6231 GB, free: 5.426 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.0008197/0.5253, allocations: 0.5038 MB / 0.6236 GB, free: 4.875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5253, allocations: 12.03 kB / 0.6236 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.634e-05/0.5254, allocations: 50.73 kB / 0.6237 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008042/0.5335, allocations: 0.7423 MB / 0.6244 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.5339, allocations: 284 kB / 0.6247 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.534, allocations: 16.27 kB / 0.6247 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5341, allocations: 19.98 kB / 0.6247 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.5357, allocations: 0.6967 MB / 0.6254 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5357, allocations: 4 kB / 0.6254 GB, free: 3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/0.5358, allocations: 8 kB / 0.6254 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.5358, allocations: 11.98 kB / 0.6254 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.538, allocations: 0.9095 MB / 0.6263 GB, free: 2.07 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.005586/0.5436, allocations: 2.016 MB / 0.6282 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.5449, allocations: 0.5146 MB / 0.6287 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007184/0.5456, allocations: 317.6 kB / 0.6291 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009818/0.5466, allocations: 379.2 kB / 0.6294 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.5467, allocations: 42.12 kB / 0.6295 GB, free: 14.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.325e-06/0.5467, allocations: 0 / 0.6295 GB, free: 14.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.00241/0.5491, allocations: 0.8882 MB / 0.6303 GB, free: 13.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.5492, allocations: 89.05 kB / 0.6304 GB, free: 13.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.5493, allocations: 130.9 kB / 0.6305 GB, free: 13.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/0.5494, allocations: 33.7 kB / 0.6306 GB, free: 13.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.5495, allocations: 120.3 kB / 0.6307 GB, free: 13.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5496, allocations: 102.5 kB / 0.6308 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.5498, allocations: 69.67 kB / 0.6308 GB, free: 13.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.55, allocations: 330.8 kB / 0.6312 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/0.5507, allocations: 295.8 kB / 0.6314 GB, free: 12.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/0.5515, allocations: 400.5 kB / 0.6318 GB, free: 12.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.553, allocations: 0.6994 MB / 0.6325 GB, free: 11.28 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.5531, allocations: 7.875 kB / 0.6325 GB, free: 11.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001804/0.5549, allocations: 0.7392 MB / 0.6332 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5549, allocations: 8 kB / 0.6332 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.5549, allocations: 4 kB / 0.6332 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.5549, allocations: 7.984 kB / 0.6333 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.5561, allocations: 96.16 kB / 0.6333 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.5561, allocations: 9.641 kB / 0.6334 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.5571, allocations: 47.75 kB / 0.6334 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.5572, allocations: 19.98 kB / 0.6334 GB, free: 10.34 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.0002528/0.5574, allocations: 149.6 kB / 0.6336 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.5576, allocations: 19.81 kB / 0.6336 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.5597, allocations: 0.7738 MB / 0.6343 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.5597, allocations: 4 kB / 0.6343 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5597, allocations: 0 / 0.6343 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5597, allocations: 7.984 kB / 0.6343 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.5609, allocations: 0.8021 MB / 0.6351 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5609, allocations: 7.938 kB / 0.6351 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.5621, allocations: 75.86 kB / 0.6352 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5621, allocations: 7.938 kB / 0.6352 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.5622, allocations: 15.97 kB / 0.6352 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.5622, allocations: 4 kB / 0.6352 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5622, allocations: 0 / 0.6352 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.5644, allocations: 0.9572 MB / 0.6362 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.5645, allocations: 88.95 kB / 0.6363 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.597e-05/0.5646, allocations: 9.375 kB / 0.6363 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.5657, allocations: 35.95 kB / 0.6363 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.5657, allocations: 23.91 kB / 0.6363 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/0.5658, allocations: 19.97 kB / 0.6363 GB, free: 7.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.766e-05/0.5659, allocations: 100.5 kB / 0.6364 GB, free: 7.094 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5659, allocations: 0 / 0.6364 GB, free: 7.094 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.5667, allocations: 187.8 kB / 0.6366 GB, free: 6.91 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.003406/0.5701, allocations: 1.746 MB / 0.6383 GB, free: 5.137 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.5718, allocations: 0.6848 MB / 0.639 GB, free: 4.453 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.5718, allocations: 0.8125 kB / 0.639 GB, free: 4.453 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007468/0.5726, allocations: 339.7 kB / 0.6393 GB, free: 4.121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000795/0.5734, allocations: 93.84 kB / 0.6394 GB, free: 4.035 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00682/0.5802, allocations: 3.678 MB / 0.643 GB, free: 188 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.5807, allocations: 0.7401 MB / 0.6437 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001352/0.582, allocations: 177.7 kB / 0.6439 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.5824, allocations: 67.39 kB / 0.644 GB, free: 15.18 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5824, allocations: 0 / 0.644 GB, free: 15.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.6233, allocations: 12.72 MB / 0.6564 GB, free: 2.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.84, allocations: 0 / 0.6564 GB, free: 2.512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)