Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001096/0.001096, 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.00111/0.00111, 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.432/1.432, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004656/0.0004656, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2743, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4376/0.7119, allocations: 156.9 MB / 483.4 MB, free: 1.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.7156, allocations: 2.995 MB / 486.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003748/0.716, allocations: 8.094 kB / 486.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.7165, allocations: 130.2 kB / 486.6 MB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009612/0.7175, allocations: 369.2 kB / 486.9 MB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.7184, allocations: 272.8 kB / 487.2 MB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.7196, allocations: 1.113 MB / 488.3 MB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.7198, allocations: 71.73 kB / 488.4 MB, free: 1.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.7214, allocations: 0.6644 MB / 489 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.7218, allocations: 272.2 kB / 489.3 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.7218, allocations: 14.5 kB / 489.3 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.7221, allocations: 103.8 kB / 489.4 MB, free: 1.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.7223, allocations: 86.19 kB / 489.5 MB, free: 1.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.566e-05/0.7223, allocations: 90.48 kB / 489.6 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.7228, allocations: 400.6 kB / 490 MB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7228, allocations: 0 / 490 MB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7228, allocations: 0 / 490 MB, free: 1.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.7228, allocations: 0 / 490 MB, free: 1.43 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.0008819/0.7237, allocations: 0.5153 MB / 490.5 MB, free: 17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.7237, allocations: 9.344 kB / 490.5 MB, free: 17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.724, allocations: 48.56 kB / 490.5 MB, free: 16.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.7244, allocations: 266.2 kB / 490.8 MB, free: 16.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.7244, allocations: 22.3 kB / 490.8 MB, free: 16.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.7245, allocations: 31.53 kB / 490.9 MB, free: 16.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.725, allocations: 316.5 kB / 491.2 MB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.725, allocations: 2.719 kB / 491.2 MB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.725, allocations: 18.67 kB / 491.2 MB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.7251, allocations: 5.094 kB / 491.2 MB, free: 16.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.7254, allocations: 202.9 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.00168/0.7271, allocations: 1.578 MB / 493 MB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.7273, allocations: 181.4 kB / 493.1 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.7275, allocations: 91.62 kB / 493.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.7275, allocations: 9.375 kB / 493.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.7276, allocations: 41.31 kB / 493.3 MB, free: 15.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.7276, 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.004992/0.7326, allocations: 1.622 MB / 494.9 MB, free: 14.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.7326, allocations: 62.14 kB / 495 MB, free: 14.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.733, allocations: 253 kB / 495.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.733, allocations: 37.34 kB / 495.3 MB, free: 14.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.7331, allocations: 172.2 kB / 495.4 MB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.964e-05/0.7332, allocations: 96.3 kB / 495.5 MB, free: 14.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.7333, allocations: 9.812 kB / 495.5 MB, free: 14.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.7335, allocations: 338.3 kB / 495.9 MB, free: 13.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.7336, allocations: 87.48 kB / 495.9 MB, free: 13.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.7338, allocations: 185.3 kB / 496.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.734, allocations: 117.9 kB / 496.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.734, allocations: 3.344 kB / 496.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006188/0.7347, allocations: 393 kB / 496.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.7347, allocations: 9.922 kB / 496.6 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.7347, allocations: 3.438 kB / 496.6 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/0.7349, allocations: 71.97 kB / 496.7 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.7353, allocations: 91.92 kB / 496.8 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.7368, allocations: 1.846 MB / 498.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.7371, allocations: 27.81 kB / 498.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.7372, allocations: 37.56 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.0001864/0.7373, allocations: 157.8 kB / 498.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.7374, allocations: 29.12 kB / 498.9 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008985/0.7383, allocations: 440 kB / 499.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7383, allocations: 6.875 kB / 499.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.7383, allocations: 2.906 kB / 499.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00053/0.7389, allocations: 0.5626 MB / 499.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.7399, allocations: 0.7315 MB / 0.4889 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7399, allocations: 3.469 kB / 0.4889 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.7403, allocations: 71.34 kB / 0.489 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-05/0.7404, allocations: 19.17 kB / 0.489 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.7404, allocations: 14.88 kB / 0.489 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009254/0.7413, allocations: 1.289 MB / 0.4903 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7413, allocations: 2.969 kB / 0.4903 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.742, allocations: 472.3 kB / 0.4907 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.7421, allocations: 117 kB / 0.4908 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.7422, allocations: 6.969 kB / 0.4908 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.7424, allocations: 13.97 kB / 0.4908 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.7425, allocations: 29.03 kB / 0.4909 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.7425, allocations: 29.05 kB / 0.4909 GB, free: 9.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.7427, allocations: 186.8 kB / 0.4911 GB, free: 9.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7427, allocations: 4 kB / 0.4911 GB, free: 9.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005483/0.7433, allocations: 128.2 kB / 0.4912 GB, free: 9.254 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.0003764/0.7436, allocations: 149.9 kB / 0.4913 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006461/0.7443, allocations: 376.1 kB / 0.4917 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7443, allocations: 3.562 kB / 0.4917 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.7446, allocations: 227.9 kB / 0.4919 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008913/0.7455, allocations: 161.6 kB / 0.4921 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.7467, allocations: 0.835 MB / 0.4929 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.7471, allocations: 0.7715 MB / 0.4936 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005628/0.7477, allocations: 117.1 kB / 0.4938 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.7479, allocations: 66.3 kB / 0.4938 GB, free: 7.68 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7479, allocations: 0 / 0.4938 GB, free: 7.68 MB / 398.1 MB Notification: Performance of Templates: time 0.01484/0.7627, allocations: 8.247 MB / 0.5019 GB, free: 4.293 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1)