Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, 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.001317/0.001317, 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.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2396/0.2396, allocations: 46.11 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.00244/0.00244, allocations: 85.06 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1255, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4264/0.5519, allocations: 154.4 MB / 0.6197 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.5536, allocations: 1.206 MB / 0.6209 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.5537, allocations: 0 / 0.6209 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.5539, allocations: 42.91 kB / 0.6209 GB, free: 7.453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.554, allocations: 27.72 kB / 0.6209 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.5553, allocations: 442.7 kB / 0.6214 GB, free: 7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.5555, allocations: 67.61 kB / 0.6214 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.5555, allocations: 0 / 0.6214 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.5556, allocations: 43.84 kB / 0.6215 GB, free: 6.891 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.5557, allocations: 23.92 kB / 0.6215 GB, free: 6.867 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.5557, allocations: 4 kB / 0.6215 GB, free: 6.863 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.5569, allocations: 0.4948 MB / 0.622 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.5569, allocations: 15.91 kB / 0.622 GB, free: 6.352 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.557, allocations: 23.88 kB / 0.622 GB, free: 6.328 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.5575, allocations: 319.2 kB / 0.6223 GB, free: 6.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.5575, allocations: 0 / 0.6223 GB, free: 6.016 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.5576, allocations: 7.938 kB / 0.6223 GB, free: 6.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.5576, allocations: 0 / 0.6223 GB, free: 6.008 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006317/0.5582, allocations: 412 kB / 0.6227 GB, free: 5.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5583, allocations: 8.031 kB / 0.6227 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.5583, allocations: 34.75 kB / 0.6228 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.5583, allocations: 5.125 kB / 0.6228 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.5585, allocations: 170.9 kB / 0.6229 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.5585, allocations: 0 / 0.6229 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.5586, allocations: 15.92 kB / 0.6229 GB, free: 5.281 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5587, allocations: 69.17 kB / 0.623 GB, free: 5.211 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.5587, allocations: 4 kB / 0.623 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.5587, allocations: 0 / 0.623 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5588, allocations: 4 kB / 0.623 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/0.5589, allocations: 47.97 kB / 0.6231 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.5594, allocations: 377.8 kB / 0.6234 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.5595, allocations: 74.47 kB / 0.6235 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.5595, allocations: 16.86 kB / 0.6235 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/0.5616, allocations: 1.217 MB / 0.6247 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.5616, allocations: 46.5 kB / 0.6247 GB, free: 3.105 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.5616, allocations: 3.938 kB / 0.6247 GB, free: 3.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007549/0.5692, allocations: 0.6573 MB / 0.6254 GB, free: 2.438 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5693, allocations: 51.41 kB / 0.6254 GB, free: 2.375 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.5693, allocations: 101.9 kB / 0.6255 GB, free: 2.266 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.5694, allocations: 30.27 kB / 0.6256 GB, free: 2.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.5694, allocations: 88.31 kB / 0.6256 GB, free: 2.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.5695, allocations: 51.28 kB / 0.6257 GB, free: 2.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.5696, allocations: 49.58 kB / 0.6257 GB, free: 2.035 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5698, allocations: 314.8 kB / 0.626 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.57, allocations: 87.94 kB / 0.6261 GB, free: 1.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.5702, allocations: 102.5 kB / 0.6262 GB, free: 1.523 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.5707, allocations: 202.5 kB / 0.6264 GB, free: 1.316 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5707, allocations: 7.938 kB / 0.6264 GB, free: 1.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005931/0.5713, allocations: 241.5 kB / 0.6267 GB, free: 1.066 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5714, allocations: 4 kB / 0.6267 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5714, allocations: 4 kB / 0.6267 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.5714, allocations: 0 / 0.6267 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.5721, allocations: 59.88 kB / 0.6267 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5721, allocations: 0 / 0.6267 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.5727, allocations: 17.69 kB / 0.6267 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.5728, allocations: 15.98 kB / 0.6267 GB, free: 0.9688 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001255/0.5729, allocations: 121.8 kB / 0.6269 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.573, allocations: 11.89 kB / 0.6269 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.5738, allocations: 347.5 kB / 0.6272 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5739, allocations: 0 / 0.6272 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5739, allocations: 4 kB / 0.6272 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5739, allocations: 0 / 0.6272 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.5751, allocations: 0.7518 MB / 0.6279 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5751, allocations: 3.938 kB / 0.6279 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/0.5758, allocations: 44.52 kB / 0.628 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5758, allocations: 4 kB / 0.628 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.5758, allocations: 4 kB / 0.628 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5758, allocations: 0 / 0.628 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.5758, allocations: 13.11 kB / 0.628 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.5765, allocations: 357.3 kB / 0.6284 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.5766, allocations: 101 kB / 0.6284 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.5766, allocations: 4 kB / 0.6285 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.5772, allocations: 8 kB / 0.6285 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.5773, allocations: 19.91 kB / 0.6285 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.5773, allocations: 12 kB / 0.6285 GB, free: 15.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.5774, allocations: 84.14 kB / 0.6286 GB, free: 14.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5774, allocations: 0 / 0.6286 GB, free: 14.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004584/0.5779, allocations: 107.9 kB / 0.6287 GB, free: 14.86 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * 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.001338/0.5792, allocations: 0.9953 MB / 0.6296 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.5798, allocations: 215.8 kB / 0.6299 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5798, allocations: 0 / 0.6299 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.5801, allocations: 119.9 kB / 0.63 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.5806, allocations: 42.55 kB / 0.63 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009299/0.5815, allocations: 333.1 kB / 0.6303 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.5819, allocations: 0.7011 MB / 0.631 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.5824, allocations: 68.73 kB / 0.6311 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.5826, allocations: 39.39 kB / 0.6311 GB, free: 12.27 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5826, allocations: 0 / 0.6311 GB, free: 12.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.6137, allocations: 7.608 MB / 0.6385 GB, free: 4.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.881, allocations: 12.56 kB / 0.6386 GB, free: 4.723 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1)