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.001585/0.001585, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.713/1.713, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3428/0.3428, allocations: 39.95 MB / 309.7 MB, free: 9.281 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.001876/0.001876, allocations: 71.89 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1411, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4428/0.5839, allocations: 153.1 MB / 0.5738 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004609/0.5886, allocations: 3.619 MB / 0.5774 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.5887, allocations: 0 / 0.5774 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.589, allocations: 43.72 kB / 0.5774 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.589, allocations: 27.78 kB / 0.5774 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.5906, allocations: 438.6 kB / 0.5779 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.5908, allocations: 67.61 kB / 0.5779 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.5909, allocations: 0 / 0.5779 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.591, allocations: 43.84 kB / 0.578 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.591, allocations: 27.86 kB / 0.578 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.591, allocations: 0 / 0.578 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.5922, allocations: 498.7 kB / 0.5785 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.5923, allocations: 4 kB / 0.5785 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.5923, allocations: 39.84 kB / 0.5785 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.5929, allocations: 303.3 kB / 0.5788 GB, free: 5.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5929, allocations: 4 kB / 0.5788 GB, free: 5.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5929, allocations: 0 / 0.5788 GB, free: 5.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.5929, allocations: 0 / 0.5788 GB, free: 5.086 MB / 446.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.0006023/0.5935, allocations: 407 kB / 0.5792 GB, free: 4.645 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5936, allocations: 11.89 kB / 0.5792 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.5936, allocations: 13.62 kB / 0.5792 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5938, allocations: 167.7 kB / 0.5794 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.5938, allocations: 12 kB / 0.5794 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.5938, allocations: 8 kB / 0.5794 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.594, allocations: 73.59 kB / 0.5795 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.594, allocations: 7.891 kB / 0.5795 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.5941, allocations: 4 kB / 0.5795 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.5941, allocations: 4 kB / 0.5795 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.823e-05/0.5942, allocations: 43.97 kB / 0.5795 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.5947, allocations: 381.8 kB / 0.5799 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.5948, allocations: 68.59 kB / 0.58 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.5948, allocations: 16.86 kB / 0.58 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001977/0.5968, allocations: 1.239 MB / 0.5812 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5969, allocations: 34.56 kB / 0.5812 GB, free: 2.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.5969, allocations: 0 / 0.5812 GB, free: 2.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007041/0.6039, allocations: 0.6649 MB / 0.5819 GB, free: 1.535 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.604, allocations: 55.41 kB / 0.5819 GB, free: 1.469 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.6041, allocations: 105.8 kB / 0.582 GB, free: 1.355 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.6041, allocations: 29.7 kB / 0.582 GB, free: 1.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.6042, allocations: 84.33 kB / 0.5821 GB, free: 1.234 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/0.6042, allocations: 51.3 kB / 0.5822 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.6044, allocations: 41.67 kB / 0.5822 GB, free: 1.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6045, allocations: 318.8 kB / 0.5825 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.6047, allocations: 83.94 kB / 0.5826 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.6049, allocations: 102.5 kB / 0.5827 GB, free: 0.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.6054, allocations: 202.6 kB / 0.5829 GB, free: 428 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6054, allocations: 0 / 0.5829 GB, free: 428 kB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00054/0.6059, allocations: 256 kB / 0.5831 GB, free: 168 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.606, allocations: 8 kB / 0.5831 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.606, allocations: 1.688 kB / 0.5831 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.606, allocations: 3.938 kB / 0.5832 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/0.6067, allocations: 55.88 kB / 0.5832 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.6067, allocations: 0 / 0.5832 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.6073, allocations: 12 kB / 0.5832 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.6073, allocations: 16.55 kB / 0.5832 GB, free: 72 kB / 446.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.0001301/0.6075, allocations: 121.9 kB / 0.5833 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.6075, allocations: 11.84 kB / 0.5834 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008168/0.6084, allocations: 350.1 kB / 0.5837 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.6084, allocations: 4 kB / 0.5837 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.6084, allocations: 0 / 0.5837 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6084, allocations: 3.984 kB / 0.5837 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6096, allocations: 0.7491 MB / 0.5844 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6096, allocations: 0 / 0.5844 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.6102, allocations: 51.95 kB / 0.5845 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.6103, allocations: 11.06 kB / 0.5845 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.6103, allocations: 3.984 kB / 0.5845 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6103, allocations: 4 kB / 0.5845 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6103, allocations: 0 / 0.5845 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.6109, allocations: 356.9 kB / 0.5848 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.611, allocations: 105 kB / 0.5849 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.6111, allocations: 8 kB / 0.5849 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.6116, allocations: 8 kB / 0.585 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.6117, allocations: 15.97 kB / 0.585 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.6117, allocations: 11.98 kB / 0.585 GB, free: 14.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.6118, allocations: 87.22 kB / 0.5851 GB, free: 14.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6118, allocations: 0 / 0.5851 GB, free: 14.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004713/0.6123, allocations: 103.9 kB / 0.5852 GB, free: 13.96 MB / 462.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.0004676/0.6128, allocations: 219 kB / 0.5854 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005391/0.6133, allocations: 223.7 kB / 0.5856 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-05/0.6134, allocations: 8.125 kB / 0.5856 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.6136, allocations: 115.9 kB / 0.5857 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.6141, allocations: 29.84 kB / 0.5857 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.6147, allocations: 259.6 kB / 0.586 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.615, allocations: 0.6969 MB / 0.5867 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004627/0.6155, allocations: 69.94 kB / 0.5867 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.6157, allocations: 31.39 kB / 0.5868 GB, free: 12.28 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6157, allocations: 0 / 0.5868 GB, free: 12.28 MB / 462.1 MB Notification: Performance of Templates: time 0.01089/0.6266, allocations: 6.24 MB / 0.5929 GB, free: 6.059 MB / 462.1 MB 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)