Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00653/0.006537, allocations: 100.8 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.673/1.673, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3471/0.3471, allocations: 37.99 MB / 307.9 MB, free: 10.12 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 59.91 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3601, allocations: 56.47 MB / 489.4 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1796/0.5397, allocations: 153.1 MB / 0.6275 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004645/0.5444, allocations: 3.634 MB / 0.6311 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.5445, allocations: 4 kB / 0.6311 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.5447, allocations: 35.73 kB / 0.6311 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.5448, allocations: 23.78 kB / 0.6311 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.546, allocations: 441.2 kB / 0.6315 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.5461, allocations: 71.59 kB / 0.6316 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.5462, allocations: 4 kB / 0.6316 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.5463, allocations: 31.86 kB / 0.6316 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.5463, allocations: 27.91 kB / 0.6317 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.5464, allocations: 7.938 kB / 0.6317 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009842/0.5473, allocations: 0.4947 MB / 0.6322 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.5474, allocations: 4 kB / 0.6322 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.5474, allocations: 31.86 kB / 0.6322 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.5479, allocations: 309.7 kB / 0.6325 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5479, allocations: 0 / 0.6325 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5479, allocations: 0 / 0.6325 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.5479, allocations: 0 / 0.6325 GB, free: 4.785 MB / 0.4981 GB 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.0006239/0.5486, allocations: 407.3 kB / 0.6329 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5486, allocations: 15.89 kB / 0.6329 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.5487, allocations: 0.9375 kB / 0.6329 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.5488, allocations: 183.4 kB / 0.6331 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5488, allocations: 0 / 0.6331 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.5488, allocations: 8 kB / 0.6331 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.549, allocations: 69.61 kB / 0.6331 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.549, allocations: 7.938 kB / 0.6332 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.549, allocations: 4 kB / 0.6332 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.549, allocations: 4 kB / 0.6332 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.747e-05/0.5491, allocations: 47.97 kB / 0.6332 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.5496, allocations: 381.8 kB / 0.6336 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.5497, allocations: 70.44 kB / 0.6336 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.5498, allocations: 20.84 kB / 0.6337 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/0.5515, allocations: 1.232 MB / 0.6349 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5515, allocations: 30.56 kB / 0.6349 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.5515, allocations: 4 kB / 0.6349 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.006508/0.5581, allocations: 0.6689 MB / 0.6355 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.5581, allocations: 55.41 kB / 0.6356 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.5582, allocations: 101.8 kB / 0.6357 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.5582, allocations: 29.7 kB / 0.6357 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.5583, allocations: 92.27 kB / 0.6358 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.5584, allocations: 39.36 kB / 0.6359 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.5585, allocations: 53.58 kB / 0.6359 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5586, allocations: 318.8 kB / 0.6362 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.5588, allocations: 79.89 kB / 0.6363 GB, free: 436 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.5591, allocations: 114.2 kB / 0.6364 GB, free: 316 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.5595, allocations: 198.5 kB / 0.6366 GB, free: 108 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5595, allocations: 0 / 0.6366 GB, free: 108 kB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.2682/0.8277, allocations: 245.3 kB / 0.6368 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.8278, allocations: 6.875 kB / 0.6368 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.8278, allocations: 0.9062 kB / 0.6368 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.8278, allocations: 1.812 kB / 0.6368 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.8285, allocations: 57.8 kB / 0.6369 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8285, allocations: 4.078 kB / 0.6369 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.829, allocations: 17.39 kB / 0.6369 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.8291, allocations: 12.02 kB / 0.6369 GB, free: 145.9 MB / 0.4981 GB 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.0001026/0.8292, allocations: 117.9 kB / 0.637 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.8293, allocations: 14.78 kB / 0.637 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008102/0.8301, allocations: 347.2 kB / 0.6374 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.8301, allocations: 1.781 kB / 0.6374 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8301, allocations: 0.8125 kB / 0.6374 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8301, allocations: 5.625 kB / 0.6374 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.8311, allocations: 0.7529 MB / 0.6381 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8312, allocations: 0 / 0.6381 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.8318, allocations: 49.06 kB / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8318, allocations: 0.9688 kB / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.8318, allocations: 10.16 kB / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8318, allocations: 1.75 kB / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.8318, allocations: 1.172 kB / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.8324, allocations: 357.2 kB / 0.6385 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.8325, allocations: 104.8 kB / 0.6386 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.8325, allocations: 8.719 kB / 0.6386 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.833, allocations: 13.47 kB / 0.6386 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.8331, allocations: 11.92 kB / 0.6386 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.8331, allocations: 17.19 kB / 0.6387 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.8332, allocations: 84.22 kB / 0.6387 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8332, allocations: 0.9062 kB / 0.6387 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005291/0.8337, allocations: 96.44 kB / 0.6388 GB, free: 144.7 MB / 0.4981 GB 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.0004054/0.8341, allocations: 229.3 kB / 0.6391 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.8347, allocations: 208.4 kB / 0.6393 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8347, allocations: 0.9688 kB / 0.6393 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.8349, allocations: 119.6 kB / 0.6394 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.8354, allocations: 32.77 kB / 0.6394 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.836, allocations: 264.3 kB / 0.6397 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.8361, allocations: 0.6991 MB / 0.6403 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003202/0.8365, allocations: 65.59 kB / 0.6404 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.8367, allocations: 33.42 kB / 0.6404 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.8367, allocations: 0 / 0.6404 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.01192/0.8486, allocations: 6.236 MB / 0.6465 GB, free: 143.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1)