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.001909/0.001909, allocations: 108 kB / 15.61 MB, free: 152 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.002317/0.002317, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.76/1.76, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3499/0.3499, allocations: 38 MB / 307.8 MB, free: 10.05 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.00157/0.00157, allocations: 74.56 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1399, allocations: 56.46 MB / 431.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4571/0.597, allocations: 153.1 MB / 0.5711 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.602, allocations: 3.63 MB / 0.5747 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.6021, allocations: 0 / 0.5747 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.6024, allocations: 39.78 kB / 0.5747 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.6024, allocations: 23.78 kB / 0.5747 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.6038, allocations: 442.6 kB / 0.5751 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.604, allocations: 71.55 kB / 0.5752 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.604, allocations: 0 / 0.5752 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.329e-05/0.6041, allocations: 39.91 kB / 0.5753 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.6042, allocations: 23.92 kB / 0.5753 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.6042, allocations: 0 / 0.5753 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.6053, allocations: 498.7 kB / 0.5758 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.6053, allocations: 3.984 kB / 0.5758 GB, free: 9.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.6054, allocations: 35.86 kB / 0.5758 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.6059, allocations: 311.3 kB / 0.5761 GB, free: 9.352 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6059, allocations: 0 / 0.5761 GB, free: 9.352 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6059, allocations: 8 kB / 0.5761 GB, free: 9.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.6059, allocations: 0 / 0.5761 GB, free: 9.344 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.0006612/0.6066, allocations: 405.5 kB / 0.5765 GB, free: 8.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6067, allocations: 11.89 kB / 0.5765 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.6067, allocations: 10.09 kB / 0.5765 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.6069, allocations: 175.6 kB / 0.5767 GB, free: 8.672 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.6069, allocations: 4 kB / 0.5767 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.6069, allocations: 8 kB / 0.5767 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.6071, allocations: 69.67 kB / 0.5767 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.6071, allocations: 4 kB / 0.5768 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6071, allocations: 0 / 0.5768 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.6071, allocations: 4 kB / 0.5768 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.6072, allocations: 43.97 kB / 0.5768 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.6078, allocations: 385.8 kB / 0.5772 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.6079, allocations: 58.56 kB / 0.5772 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.6079, allocations: 24.84 kB / 0.5772 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00204/0.61, allocations: 1.234 MB / 0.5784 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.61, allocations: 38.56 kB / 0.5785 GB, free: 6.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.61, allocations: 0 / 0.5785 GB, free: 6.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007051/0.6171, allocations: 0.6648 MB / 0.5791 GB, free: 5.809 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.6172, allocations: 51.41 kB / 0.5792 GB, free: 5.746 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.6173, allocations: 105.8 kB / 0.5793 GB, free: 5.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.6173, allocations: 29.7 kB / 0.5793 GB, free: 5.598 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.6174, allocations: 96.23 kB / 0.5794 GB, free: 5.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.6175, allocations: 51.28 kB / 0.5795 GB, free: 5.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.6176, allocations: 45.67 kB / 0.5795 GB, free: 5.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6177, allocations: 318.8 kB / 0.5798 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.618, allocations: 79.95 kB / 0.5799 GB, free: 5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.6182, allocations: 106.4 kB / 0.58 GB, free: 4.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.6186, allocations: 202.6 kB / 0.5802 GB, free: 4.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6187, allocations: 0 / 0.5802 GB, free: 4.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005572/0.6192, allocations: 252 kB / 0.5804 GB, free: 4.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6192, allocations: 8 kB / 0.5804 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6193, allocations: 0 / 0.5804 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.6193, allocations: 4.062 kB / 0.5804 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.62, allocations: 59.88 kB / 0.5805 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.62, allocations: 0 / 0.5805 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.6206, allocations: 12 kB / 0.5805 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.6206, allocations: 19.97 kB / 0.5805 GB, free: 4.328 MB / 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.0001365/0.6208, allocations: 113.8 kB / 0.5806 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.6209, allocations: 7.938 kB / 0.5806 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/0.6217, allocations: 356 kB / 0.581 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6218, allocations: 5.25 kB / 0.581 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6218, allocations: 3.984 kB / 0.581 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6218, allocations: 7.984 kB / 0.581 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.6229, allocations: 0.7486 MB / 0.5817 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6229, allocations: 0 / 0.5817 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.6236, allocations: 43.95 kB / 0.5818 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.6236, allocations: 4 kB / 0.5818 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.6236, allocations: 7.984 kB / 0.5818 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.6237, allocations: 11.12 kB / 0.5818 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6237, allocations: 3.938 kB / 0.5818 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.6243, allocations: 353 kB / 0.5821 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/0.6244, allocations: 105 kB / 0.5822 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.6244, allocations: 4 kB / 0.5822 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.625, allocations: 8 kB / 0.5822 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.6251, allocations: 15.97 kB / 0.5822 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.6251, allocations: 15.98 kB / 0.5823 GB, free: 2.414 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.696e-05/0.6252, allocations: 83.22 kB / 0.5823 GB, free: 2.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6252, allocations: 0 / 0.5823 GB, free: 2.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.6257, allocations: 107.9 kB / 0.5824 GB, free: 2.227 MB / 446.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.0004357/0.6261, allocations: 222.8 kB / 0.5827 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005441/0.6267, allocations: 215.8 kB / 0.5829 GB, free: 1.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6267, allocations: 0 / 0.5829 GB, free: 1.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.627, allocations: 123.8 kB / 0.583 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.6274, allocations: 29.91 kB / 0.583 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.6281, allocations: 255.6 kB / 0.5833 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.6283, allocations: 0.7009 MB / 0.5839 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004584/0.6288, allocations: 66.38 kB / 0.584 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.629, allocations: 31.41 kB / 0.584 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.629, allocations: 0 / 0.584 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of Templates: time 0.01035/0.6394, allocations: 6.247 MB / 0.5901 GB, free: 10.3 MB / 462.1 MB 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)