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.0093/0.0093, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001596/0.001596, allocations: 193.7 kB / 16.67 MB, free: 5.926 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.688/1.688, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3706/0.3706, allocations: 38 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.001509/0.001509, allocations: 63.91 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3822, allocations: 56.48 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1868/0.569, allocations: 153.1 MB / 0.6275 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005134/0.5742, allocations: 3.641 MB / 0.6311 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.5743, allocations: 0 / 0.6311 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.5746, allocations: 43.8 kB / 0.6311 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.5747, allocations: 27.72 kB / 0.6311 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.5761, allocations: 433.2 kB / 0.6315 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.5763, allocations: 71.59 kB / 0.6316 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.5763, allocations: 4 kB / 0.6316 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.5765, allocations: 35.84 kB / 0.6316 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.5765, allocations: 23.92 kB / 0.6317 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.5765, allocations: 7.938 kB / 0.6317 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.5777, allocations: 0.4909 MB / 0.6322 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.5777, allocations: 4 kB / 0.6322 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.5778, allocations: 31.84 kB / 0.6322 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.5785, allocations: 309.7 kB / 0.6325 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.5785, allocations: 0 / 0.6325 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5785, allocations: 0 / 0.6325 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.5785, allocations: 0 / 0.6325 GB, free: 4.777 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.0007067/0.5792, allocations: 407.3 kB / 0.6329 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5793, allocations: 15.83 kB / 0.6329 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.5793, allocations: 4.938 kB / 0.6329 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.5795, allocations: 183.4 kB / 0.6331 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5795, allocations: 0 / 0.6331 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.5796, allocations: 11.98 kB / 0.6331 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5797, allocations: 65.67 kB / 0.6331 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5797, allocations: 4 kB / 0.6331 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.5798, allocations: 3.938 kB / 0.6332 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5798, allocations: 0 / 0.6332 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.5799, allocations: 47.97 kB / 0.6332 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.5804, allocations: 381.8 kB / 0.6336 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.5805, allocations: 78.41 kB / 0.6336 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.5805, allocations: 16.86 kB / 0.6337 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.5826, allocations: 1.24 MB / 0.6349 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5826, allocations: 30.56 kB / 0.6349 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.5826, allocations: 0 / 0.6349 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.007404/0.59, allocations: 0.6689 MB / 0.6355 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.5901, allocations: 59.41 kB / 0.6356 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.5902, allocations: 97.86 kB / 0.6357 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.5902, allocations: 29.69 kB / 0.6357 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.5903, allocations: 96.27 kB / 0.6358 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.5904, allocations: 39.36 kB / 0.6359 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.5905, allocations: 49.58 kB / 0.6359 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5906, allocations: 314.8 kB / 0.6362 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.5908, allocations: 87.88 kB / 0.6363 GB, free: 420 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.5911, allocations: 102.5 kB / 0.6364 GB, free: 308 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.5915, allocations: 203 kB / 0.6366 GB, free: 96 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5915, allocations: 0 / 0.6366 GB, free: 96 kB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.2524/0.8439, allocations: 249.7 kB / 0.6368 GB, free: 146 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.844, allocations: 4.656 kB / 0.6368 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.844, allocations: 0.875 kB / 0.6368 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.844, allocations: 2.406 kB / 0.6368 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.8448, allocations: 57.98 kB / 0.6369 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.8448, allocations: 1.75 kB / 0.6369 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.8454, allocations: 13.64 kB / 0.6369 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.8455, allocations: 14 kB / 0.6369 GB, free: 146 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.0001237/0.8456, allocations: 119.9 kB / 0.637 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.8457, allocations: 10.05 kB / 0.637 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008472/0.8465, allocations: 344 kB / 0.6374 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.8465, allocations: 2.328 kB / 0.6374 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8465, allocations: 3.844 kB / 0.6374 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.8466, allocations: 2.719 kB / 0.6374 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.8477, allocations: 0.7503 MB / 0.6381 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8477, allocations: 3.938 kB / 0.6381 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.8484, allocations: 49.41 kB / 0.6382 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.8484, allocations: 4.703 kB / 0.6382 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.8485, allocations: 9.406 kB / 0.6382 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.8485, allocations: 1.359 kB / 0.6382 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.8485, allocations: 0 / 0.6382 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.8492, allocations: 355 kB / 0.6385 GB, free: 145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.8493, allocations: 108.4 kB / 0.6386 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.8493, allocations: 10.8 kB / 0.6386 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.8499, allocations: 11.81 kB / 0.6386 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.85, allocations: 15.95 kB / 0.6386 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.8501, allocations: 9.984 kB / 0.6387 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.8501, allocations: 88.44 kB / 0.6387 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8501, allocations: 0 / 0.6387 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000549/0.8507, allocations: 96.94 kB / 0.6388 GB, free: 144.8 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.0005186/0.8512, allocations: 230 kB / 0.6391 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006569/0.8519, allocations: 212.3 kB / 0.6393 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8519, allocations: 0 / 0.6393 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.8522, allocations: 117.1 kB / 0.6394 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.8527, allocations: 27.27 kB / 0.6394 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.8533, allocations: 267.1 kB / 0.6396 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.8536, allocations: 0.6991 MB / 0.6403 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003147/0.8539, allocations: 69.78 kB / 0.6404 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.8541, allocations: 40.78 kB / 0.6404 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.8541, allocations: 0 / 0.6404 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.01359/0.8677, allocations: 6.226 MB / 0.6465 GB, free: 143.2 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)