Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.007624/0.007624, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001441/0.001441, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2125/0.2125, allocations: 39.97 MB / 309.9 MB, free: 4.016 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.2. 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.001645/0.001645, allocations: 69.83 kB / 435.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1322, allocations: 56.88 MB / 492.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4636/0.5959, allocations: 153.1 MB / 0.6306 GB, free: 436 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00707/0.603, allocations: 3.635 MB / 0.6342 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.6031, allocations: 3.938 kB / 0.6342 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.6035, allocations: 35.8 kB / 0.6342 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.6036, allocations: 27.78 kB / 0.6342 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.6056, allocations: 440.8 kB / 0.6347 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.6057, allocations: 63.66 kB / 0.6347 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.166e-05/0.6058, allocations: 8 kB / 0.6347 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.606, allocations: 35.84 kB / 0.6348 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.6061, allocations: 27.86 kB / 0.6348 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.6061, allocations: 0 / 0.6348 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.608, allocations: 0.4948 MB / 0.6353 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.6081, allocations: 4 kB / 0.6353 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.6081, allocations: 31.86 kB / 0.6353 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000991/0.6092, allocations: 318.2 kB / 0.6356 GB, free: 11.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.6092, allocations: 0 / 0.6356 GB, free: 11.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.871e-06/0.6092, allocations: 4 kB / 0.6356 GB, free: 11.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.6092, allocations: 0 / 0.6356 GB, free: 11.31 MB / 494.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.0009159/0.6101, allocations: 406.8 kB / 0.636 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.6102, allocations: 11.89 kB / 0.636 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.6103, allocations: 8.891 kB / 0.636 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.6105, allocations: 167.7 kB / 0.6362 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.6105, allocations: 8 kB / 0.6362 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.6105, allocations: 4 kB / 0.6362 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.6108, allocations: 77.59 kB / 0.6363 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.6108, allocations: 0 / 0.6363 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.6108, allocations: 4 kB / 0.6363 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.6108, allocations: 4 kB / 0.6363 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.611, allocations: 47.97 kB / 0.6363 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.6117, allocations: 381.8 kB / 0.6367 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.6119, allocations: 70.48 kB / 0.6368 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.612, allocations: 20.86 kB / 0.6368 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/0.6145, allocations: 1.236 MB / 0.638 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.6145, allocations: 34.56 kB / 0.638 GB, free: 8.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.6145, allocations: 0 / 0.638 GB, free: 8.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.008999/0.6236, allocations: 0.6727 MB / 0.6387 GB, free: 7.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.6237, allocations: 51.41 kB / 0.6387 GB, free: 7.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.6238, allocations: 101.9 kB / 0.6388 GB, free: 7.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.6239, allocations: 29.7 kB / 0.6388 GB, free: 7.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.6239, allocations: 88.36 kB / 0.6389 GB, free: 7.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.624, allocations: 55.53 kB / 0.639 GB, free: 7.398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.6242, allocations: 41.67 kB / 0.639 GB, free: 7.352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6244, allocations: 314.8 kB / 0.6393 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.6247, allocations: 83.94 kB / 0.6394 GB, free: 6.953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.625, allocations: 106.5 kB / 0.6395 GB, free: 6.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.6257, allocations: 204.3 kB / 0.6397 GB, free: 6.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6257, allocations: 0 / 0.6397 GB, free: 6.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008139/0.6265, allocations: 249.6 kB / 0.6399 GB, free: 6.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.6266, allocations: 4.062 kB / 0.6399 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6266, allocations: 8 kB / 0.64 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.415e-05/0.6267, allocations: 0 / 0.64 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/0.6276, allocations: 55.83 kB / 0.64 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.6276, allocations: 3.984 kB / 0.64 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/0.6283, allocations: 20 kB / 0.64 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.6284, allocations: 11.98 kB / 0.64 GB, free: 6.281 MB / 494.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.0001802/0.6286, allocations: 117.8 kB / 0.6402 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.6287, allocations: 15.88 kB / 0.6402 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.6298, allocations: 357.4 kB / 0.6405 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6299, allocations: 0 / 0.6405 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.6299, allocations: 4 kB / 0.6405 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6299, allocations: 0 / 0.6405 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.6315, allocations: 0.7714 MB / 0.6413 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.6315, allocations: 2.812 kB / 0.6413 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008193/0.6323, allocations: 43.95 kB / 0.6413 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.6324, allocations: 0 / 0.6413 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.6324, allocations: 8 kB / 0.6413 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6325, allocations: 0 / 0.6413 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6325, allocations: 4 kB / 0.6413 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008881/0.6334, allocations: 367.2 kB / 0.6417 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.6335, allocations: 101 kB / 0.6418 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.6336, allocations: 4 kB / 0.6418 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.6343, allocations: 8 kB / 0.6418 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.6344, allocations: 15.97 kB / 0.6418 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.6345, allocations: 8 kB / 0.6418 GB, free: 4.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.6345, allocations: 91.2 kB / 0.6419 GB, free: 4.246 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6345, allocations: 0 / 0.6419 GB, free: 4.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007233/0.6353, allocations: 103.7 kB / 0.642 GB, free: 4.145 MB / 494.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.0006709/0.636, allocations: 230.7 kB / 0.6422 GB, free: 3.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.6368, allocations: 207.2 kB / 0.6424 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6368, allocations: 0 / 0.6424 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.6372, allocations: 119.8 kB / 0.6425 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.6379, allocations: 36.98 kB / 0.6426 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008467/0.6387, allocations: 260.7 kB / 0.6428 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.6391, allocations: 0.6931 MB / 0.6435 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005497/0.6397, allocations: 66.08 kB / 0.6435 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.64, allocations: 39.39 kB / 0.6436 GB, free: 2.465 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.64, allocations: 0 / 0.6436 GB, free: 2.465 MB / 494.1 MB Notification: Performance of Templates: time 0.01567/0.6557, allocations: 6.235 MB / 0.6497 GB, free: 12.22 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1)