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.008386/0.008386, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.00146/0.00146, allocations: 187 kB / 16.67 MB, free: 5.949 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.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.4207/0.4207, allocations: 38 MB / 307.9 MB, free: 10.14 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.001589/0.001589, allocations: 64.47 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3721, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1978/0.5699, allocations: 153.1 MB / 0.6275 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004522/0.5745, allocations: 3.641 MB / 0.6311 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.5746, allocations: 4 kB / 0.6311 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.5748, allocations: 35.81 kB / 0.6311 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.5749, allocations: 27.77 kB / 0.6311 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.5764, allocations: 437.2 kB / 0.6315 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.5765, allocations: 75.58 kB / 0.6316 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.5765, allocations: 7.984 kB / 0.6316 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.5767, allocations: 27.92 kB / 0.6317 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.5767, allocations: 27.91 kB / 0.6317 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.5767, allocations: 0 / 0.6317 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.5778, allocations: 0.4947 MB / 0.6322 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.5779, allocations: 7.984 kB / 0.6322 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.5779, allocations: 27.81 kB / 0.6322 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.5785, allocations: 313.8 kB / 0.6325 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5785, allocations: 0 / 0.6325 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5785, allocations: 0 / 0.6325 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.5785, allocations: 0 / 0.6325 GB, free: 4.773 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.0006565/0.5792, allocations: 403.3 kB / 0.6329 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5792, allocations: 11.89 kB / 0.6329 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.5792, allocations: 4.938 kB / 0.6329 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.5794, allocations: 187.4 kB / 0.6331 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5794, allocations: 0 / 0.6331 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.5795, allocations: 4 kB / 0.6331 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.5797, allocations: 73.66 kB / 0.6332 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5797, allocations: 0 / 0.6332 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5797, allocations: 4 kB / 0.6332 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5797, allocations: 0 / 0.6332 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.419e-05/0.5798, allocations: 43.97 kB / 0.6332 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.5803, allocations: 389.8 kB / 0.6336 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.5804, allocations: 62.55 kB / 0.6336 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.5805, allocations: 24.8 kB / 0.6337 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/0.5824, allocations: 1.236 MB / 0.6349 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5824, allocations: 34.69 kB / 0.6349 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.5825, allocations: 0 / 0.6349 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.006731/0.5892, allocations: 0.6649 MB / 0.6355 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.5893, allocations: 63.39 kB / 0.6356 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.5893, allocations: 97.86 kB / 0.6357 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.5894, allocations: 25.7 kB / 0.6357 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.5894, allocations: 100.2 kB / 0.6358 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.5895, allocations: 39.36 kB / 0.6359 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.5896, allocations: 49.58 kB / 0.6359 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.5898, allocations: 314.8 kB / 0.6362 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.59, allocations: 91.81 kB / 0.6363 GB, free: 424 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.5902, allocations: 106.2 kB / 0.6364 GB, free: 312 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.5906, allocations: 198.5 kB / 0.6366 GB, free: 104 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5906, allocations: 0 / 0.6366 GB, free: 104 kB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.3026/0.8933, allocations: 248.9 kB / 0.6368 GB, free: 146 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.8934, allocations: 4.75 kB / 0.6368 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.8934, allocations: 1.609 kB / 0.6368 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.8934, allocations: 1.844 kB / 0.6368 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/0.8942, allocations: 56.55 kB / 0.6369 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.8942, allocations: 1.812 kB / 0.6369 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.8947, allocations: 16.91 kB / 0.6369 GB, free: 146 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.8948, allocations: 12.36 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.0001245/0.8949, allocations: 122.8 kB / 0.637 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.895, allocations: 7.031 kB / 0.637 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009623/0.896, allocations: 348.3 kB / 0.6374 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.896, allocations: 2.25 kB / 0.6374 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.896, allocations: 1.656 kB / 0.6374 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.896, allocations: 1.172 kB / 0.6374 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.8973, allocations: 0.7566 MB / 0.6381 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8973, allocations: 0 / 0.6381 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.898, allocations: 46.75 kB / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.898, allocations: 4.047 kB / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.898, allocations: 19.56 kB / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.898, allocations: 0.9062 kB / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8981, allocations: 0 / 0.6382 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.8987, allocations: 349.7 kB / 0.6385 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.8989, allocations: 103.5 kB / 0.6386 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.8989, allocations: 10.55 kB / 0.6386 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/0.8994, allocations: 11.7 kB / 0.6386 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.8995, allocations: 12.23 kB / 0.6386 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.8995, allocations: 13.84 kB / 0.6387 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.8996, allocations: 80.34 kB / 0.6387 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.8996, allocations: 0.8125 kB / 0.6387 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005589/0.9002, allocations: 106.5 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.0005202/0.9007, allocations: 222.4 kB / 0.639 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000639/0.9013, allocations: 211.1 kB / 0.6392 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.9014, allocations: 0.8125 kB / 0.6392 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.9016, allocations: 120.5 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.0004961/0.9022, allocations: 33.86 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.0007545/0.9029, allocations: 265.1 kB / 0.6396 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.9031, allocations: 0.7031 MB / 0.6403 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003383/0.9035, allocations: 67.8 kB / 0.6404 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.9037, allocations: 30.48 kB / 0.6404 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.9037, allocations: 0.9688 kB / 0.6404 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.01445/0.9182, allocations: 6.332 MB / 0.6466 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)