Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, 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.001404/0.001404, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.718/1.718, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.3459/0.3459, allocations: 39.94 MB / 309.7 MB, free: 9.34 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.001816/0.001816, allocations: 78.41 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1441, allocations: 56.88 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4533/0.5974, allocations: 147.6 MB / 0.5684 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007811/0.6053, allocations: 5.598 MB / 0.5739 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005717/0.6059, allocations: 19.88 kB / 0.5739 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009926/0.6069, allocations: 326 kB / 0.5742 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.6087, allocations: 0.855 MB / 0.5751 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.6112, allocations: 1.02 MB / 0.5761 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.6133, allocations: 1.794 MB / 0.5778 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008671/0.6141, allocations: 470.3 kB / 0.5783 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.6157, allocations: 0.7512 MB / 0.579 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.6171, allocations: 0.7086 MB / 0.5797 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.6173, allocations: 64 kB / 0.5798 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.6187, allocations: 0.5342 MB / 0.5803 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.6192, allocations: 263.3 kB / 0.5805 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006499/0.6199, allocations: 398.2 kB / 0.5809 GB, free: 2.973 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.6217, allocations: 1.13 MB / 0.582 GB, free: 1.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6217, allocations: 0 / 0.582 GB, free: 1.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6217, allocations: 0 / 0.582 GB, free: 1.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.622e-05/0.6218, allocations: 0 / 0.582 GB, free: 1.84 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002664/0.6244, allocations: 1.061 MB / 0.5831 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.6245, allocations: 11.89 kB / 0.5831 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004645/0.6249, allocations: 88.08 kB / 0.5831 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.6259, allocations: 0.5054 MB / 0.5836 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.6261, allocations: 101 kB / 0.5837 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.6262, allocations: 52.55 kB / 0.5838 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6276, allocations: 0.8227 MB / 0.5846 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.6277, allocations: 7.938 kB / 0.5846 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/0.6278, allocations: 23.98 kB / 0.5846 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/0.6279, allocations: 36.98 kB / 0.5847 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.629, allocations: 0.6595 MB / 0.5853 GB, free: 14.31 MB / 462.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.004828/0.6338, allocations: 3.974 MB / 0.5892 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/0.6347, allocations: 421.8 kB / 0.5896 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.635, allocations: 208 kB / 0.5898 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006281/0.6357, allocations: 0.7405 MB / 0.5905 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.6357, allocations: 35.22 kB / 0.5905 GB, free: 8.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.853e-06/0.6357, allocations: 0 / 0.5905 GB, free: 8.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003409/0.6391, allocations: 1.538 MB / 0.592 GB, free: 6.879 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.6392, allocations: 140.5 kB / 0.5922 GB, free: 6.711 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.64, allocations: 0.5693 MB / 0.5927 GB, free: 6.133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.64, allocations: 37.7 kB / 0.5928 GB, free: 6.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.6403, allocations: 358.9 kB / 0.5931 GB, free: 5.734 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.6404, allocations: 157.7 kB / 0.5933 GB, free: 5.578 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.6407, allocations: 138.6 kB / 0.5934 GB, free: 5.438 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.6409, allocations: 378.7 kB / 0.5938 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.6412, allocations: 213.9 kB / 0.594 GB, free: 4.848 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.6419, allocations: 0.5162 MB / 0.5945 GB, free: 4.191 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.6429, allocations: 0.7601 MB / 0.5952 GB, free: 3.301 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.6429, allocations: 4 kB / 0.5952 GB, free: 3.297 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001713/0.6446, allocations: 0.9175 MB / 0.5961 GB, free: 2.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.6447, allocations: 11.94 kB / 0.5961 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6447, allocations: 8 kB / 0.5961 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.6461, allocations: 293.1 kB / 0.5964 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.6465, allocations: 119.8 kB / 0.5965 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.6476, allocations: 0.8844 MB / 0.5974 GB, free: 1.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.6481, allocations: 32.06 kB / 0.5974 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.6482, allocations: 35.98 kB / 0.5974 GB, free: 0.9727 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003823/0.6486, allocations: 251.1 kB / 0.5977 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.6488, allocations: 71.16 kB / 0.5978 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.6501, allocations: 0.7617 MB / 0.5985 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.6501, allocations: 4 kB / 0.5985 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.6502, allocations: 0 / 0.5985 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6502, allocations: 3.984 kB / 0.5985 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.6524, allocations: 1.421 MB / 0.5999 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6524, allocations: 4.188 kB / 0.5999 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.6535, allocations: 203.8 kB / 0.6001 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.297e-05/0.6536, allocations: 24.84 kB / 0.6001 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.6536, allocations: 12 kB / 0.6001 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.6561, allocations: 2.878 MB / 0.6029 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.6561, allocations: 7.094 kB / 0.6029 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.6576, allocations: 1.007 MB / 0.6039 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.658, allocations: 200.2 kB / 0.6041 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.6581, allocations: 8 kB / 0.6041 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.6585, allocations: 19.98 kB / 0.6041 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.6586, allocations: 43.89 kB / 0.6042 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.6587, allocations: 23.98 kB / 0.6042 GB, free: 9.559 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005999/0.6593, allocations: 431 kB / 0.6046 GB, free: 9.141 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6593, allocations: 3.938 kB / 0.6046 GB, free: 9.137 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009518/0.6603, allocations: 223.9 kB / 0.6048 GB, free: 8.918 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007496/0.661, allocations: 270.2 kB / 0.6051 GB, free: 8.648 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.6626, allocations: 0.6653 MB / 0.6057 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.6626, allocations: 4 kB / 0.6057 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.6637, allocations: 454.2 kB / 0.6062 GB, free: 7.523 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.6655, allocations: 377.1 kB / 0.6065 GB, free: 7.172 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.6682, allocations: 1.394 MB / 0.6079 GB, free: 5.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/0.6688, allocations: 0.9384 MB / 0.6088 GB, free: 4.762 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008122/0.6697, allocations: 202.1 kB / 0.609 GB, free: 4.562 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.6699, allocations: 63.42 kB / 0.6091 GB, free: 4.5 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6699, allocations: 0 / 0.6091 GB, free: 4.5 MB / 478.1 MB Notification: Performance of Templates: time 0.02912/0.699, allocations: 15.51 MB / 0.6242 GB, free: 5.023 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)