Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001752/0.001752, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0004971/0.0004971, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2382, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4073/0.6456, allocations: 156.9 MB / 483.4 MB, free: 1.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.6493, allocations: 2.998 MB / 486.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.6498, allocations: 3.531 kB / 486.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006888/0.6505, allocations: 133.2 kB / 486.6 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.6516, allocations: 362.9 kB / 486.9 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008992/0.6525, allocations: 277.3 kB / 487.2 MB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.6539, allocations: 1.11 MB / 488.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.6542, allocations: 73.58 kB / 488.4 MB, free: 1.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.6562, allocations: 0.6695 MB / 489 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.6567, allocations: 269.1 kB / 489.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.638e-05/0.6568, allocations: 14.47 kB / 489.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.6572, allocations: 107.9 kB / 489.4 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.6574, allocations: 80.86 kB / 489.5 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.6575, allocations: 91.77 kB / 489.6 MB, free: 1.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.658, allocations: 398.2 kB / 490 MB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.658, allocations: 5.781 kB / 490 MB, free: 1.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.658, allocations: 0 / 490 MB, free: 1.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.6581, allocations: 0 / 490 MB, free: 1.438 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009682/0.659, allocations: 0.5109 MB / 490.5 MB, free: 17.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6591, allocations: 7.969 kB / 490.5 MB, free: 17.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.6594, allocations: 48.88 kB / 490.5 MB, free: 16.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.6598, allocations: 268.6 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.6599, allocations: 21.02 kB / 490.8 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.6599, allocations: 31.44 kB / 490.9 MB, free: 16.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.6605, allocations: 314.3 kB / 491.2 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.6605, allocations: 7.141 kB / 491.2 MB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.6606, allocations: 17.89 kB / 491.2 MB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.6606, allocations: 8.219 kB / 491.2 MB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.6609, allocations: 202.3 kB / 491.4 MB, free: 16.66 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.6631, allocations: 1.582 MB / 493 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.6634, allocations: 178.6 kB / 493.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.6636, allocations: 92.09 kB / 493.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.6636, allocations: 8.125 kB / 493.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.6637, allocations: 40.81 kB / 493.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 3.075e-06/0.6637, allocations: 0 / 493.3 MB, free: 15.39 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005187/0.6689, allocations: 1.625 MB / 494.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.6689, allocations: 58.72 kB / 495 MB, free: 14.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.6692, allocations: 253.7 kB / 495.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.6693, allocations: 40.38 kB / 495.3 MB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.6694, allocations: 168.3 kB / 495.4 MB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.6695, allocations: 102.7 kB / 495.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.6695, allocations: 5.938 kB / 495.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.6697, allocations: 337.8 kB / 495.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.6698, allocations: 90.2 kB / 495.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.67, allocations: 185.5 kB / 496.1 MB, free: 13.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.6703, allocations: 117.2 kB / 496.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6703, allocations: 0 / 496.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006304/0.6709, allocations: 404.1 kB / 496.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6709, allocations: 9.422 kB / 496.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.6709, allocations: 2.906 kB / 496.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.6712, allocations: 72.16 kB / 496.7 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.6715, allocations: 89.2 kB / 496.8 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.6729, allocations: 1.85 MB / 498.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.6731, allocations: 23.11 kB / 498.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.6732, allocations: 42.33 kB / 498.7 MB, free: 11.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.6734, allocations: 156.4 kB / 498.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.6735, allocations: 29.09 kB / 498.9 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008844/0.6744, allocations: 436.3 kB / 499.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6744, allocations: 6.906 kB / 499.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6744, allocations: 2.906 kB / 499.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004866/0.6749, allocations: 0.5613 MB / 499.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009461/0.6758, allocations: 0.7248 MB / 0.4889 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6759, allocations: 5.844 kB / 0.4889 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.6762, allocations: 70.72 kB / 0.489 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.564e-05/0.6762, allocations: 23.22 kB / 0.489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.6763, allocations: 15.59 kB / 0.489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008301/0.6771, allocations: 1.282 MB / 0.4902 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6771, allocations: 0 / 0.4902 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.6777, allocations: 482.4 kB / 0.4907 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.6779, allocations: 114.2 kB / 0.4908 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.6779, allocations: 8.062 kB / 0.4908 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.6782, allocations: 14.92 kB / 0.4908 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.6782, allocations: 27.56 kB / 0.4909 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.6783, allocations: 32.7 kB / 0.4909 GB, free: 9.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.6785, allocations: 185.4 kB / 0.4911 GB, free: 9.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6785, allocations: 4 kB / 0.4911 GB, free: 9.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005303/0.679, allocations: 123.2 kB / 0.4912 GB, free: 9.262 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003793/0.6794, allocations: 153.7 kB / 0.4913 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006483/0.6801, allocations: 367.9 kB / 0.4917 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6801, allocations: 3.188 kB / 0.4917 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.6804, allocations: 226.8 kB / 0.4919 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009274/0.6813, allocations: 162 kB / 0.4921 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.6826, allocations: 0.8398 MB / 0.4929 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.6829, allocations: 0.7715 MB / 0.4936 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005924/0.6835, allocations: 119.1 kB / 0.4938 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.6837, allocations: 63.61 kB / 0.4938 GB, free: 7.684 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6837, allocations: 1.781 kB / 0.4938 GB, free: 7.684 MB / 398.1 MB Notification: Performance of Templates: time 0.01396/0.6977, allocations: 8.249 MB / 0.5019 GB, free: 4.301 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)