Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 89.62 kB / 16.65 MB, free: 6.594 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.001003/0.001003, allocations: 180 kB / 17.56 MB, free: 6.203 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.48/1.48, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0006461/0.0006464, allocations: 8 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1039, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.472/0.5759, allocations: 182.8 MB / 0.4991 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006799/0.5828, allocations: 4.807 MB / 0.5038 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.5835, allocations: 7.938 kB / 0.5038 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008961/0.5844, allocations: 219 kB / 0.504 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007989/0.5852, allocations: 366.1 kB / 0.5044 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009158/0.5944, allocations: 2.518 MB / 0.5068 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002377/0.5968, allocations: 1.668 MB / 0.5085 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.597, allocations: 126 kB / 0.5086 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.6009, allocations: 1.284 MB / 0.5098 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.6016, allocations: 434.5 kB / 0.5102 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.791e-05/0.6016, allocations: 27.94 kB / 0.5103 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008727/0.6104, allocations: 4.297 MB / 0.5145 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004469/0.6109, allocations: 195.4 kB / 0.5147 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.6114, allocations: 308.6 kB / 0.515 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007582/0.619, allocations: 2.946 MB / 0.5178 GB, free: 15.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6191, allocations: 0 / 0.5178 GB, free: 15.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.6191, allocations: 0 / 0.5178 GB, free: 15.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.6191, allocations: 3.938 kB / 0.5178 GB, free: 15.56 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002508/0.6216, allocations: 1.029 MB / 0.5188 GB, free: 14.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.6217, allocations: 8.031 kB / 0.5188 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.622, allocations: 67.36 kB / 0.5189 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.6226, allocations: 361.9 kB / 0.5193 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.6226, allocations: 36.94 kB / 0.5193 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.6227, allocations: 44 kB / 0.5193 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/0.6237, allocations: 0.5022 MB / 0.5198 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.6237, allocations: 0 / 0.5198 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.6238, allocations: 24 kB / 0.5198 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.6238, allocations: 8 kB / 0.5199 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009397/0.6248, allocations: 0.6012 MB / 0.5204 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.6281, allocations: 2.167 MB / 0.5226 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.6293, allocations: 0.5672 MB / 0.5231 GB, free: 9.828 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.6298, allocations: 262.1 kB / 0.5234 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006239/0.6304, allocations: 0.6931 MB / 0.524 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.6304, allocations: 50.88 kB / 0.5241 GB, free: 8.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.254e-06/0.6305, allocations: 0 / 0.5241 GB, free: 8.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01487/0.6453, allocations: 3.808 MB / 0.5278 GB, free: 4.766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.6455, allocations: 59.97 kB / 0.5279 GB, free: 4.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.6459, allocations: 294.6 kB / 0.5281 GB, free: 4.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.646, allocations: 41.7 kB / 0.5282 GB, free: 4.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.6461, allocations: 193.2 kB / 0.5284 GB, free: 4.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.6463, allocations: 224.7 kB / 0.5286 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.6464, allocations: 57.69 kB / 0.5286 GB, free: 3.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6466, allocations: 346.8 kB / 0.529 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.6473, allocations: 325.1 kB / 0.5293 GB, free: 3.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.6481, allocations: 392.2 kB / 0.5297 GB, free: 2.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.6497, allocations: 0.7203 MB / 0.5304 GB, free: 2.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6497, allocations: 0 / 0.5304 GB, free: 2.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002305/0.652, allocations: 0.9756 MB / 0.5313 GB, free: 1.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.6521, allocations: 4 kB / 0.5313 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.6521, allocations: 15.91 kB / 0.5313 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.654, allocations: 350.4 kB / 0.5317 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.6546, allocations: 119.8 kB / 0.5318 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2353/0.8899, allocations: 3.522 MB / 0.5352 GB, free: 162 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007305/0.8907, allocations: 60.94 kB / 0.5353 GB, free: 162 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-05/0.8907, allocations: 29.53 kB / 0.5353 GB, free: 162 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003723/0.8911, allocations: 191.9 kB / 0.5355 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.8913, allocations: 45.8 kB / 0.5355 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/0.8946, allocations: 1.037 MB / 0.5365 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.8947, allocations: 9.438 kB / 0.5365 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8947, allocations: 4.531 kB / 0.5366 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00221/0.8969, allocations: 1.089 MB / 0.5376 GB, free: 161.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.9004, allocations: 1.707 MB / 0.5393 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9005, allocations: 3.062 kB / 0.5393 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.9011, allocations: 109.6 kB / 0.5394 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/0.9032, allocations: 398.3 kB / 0.5398 GB, free: 160.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.343e-05/0.9033, allocations: 24.95 kB / 0.5398 GB, free: 160.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.9048, allocations: 0.8822 MB / 0.5407 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.9049, allocations: 4.891 kB / 0.5407 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/0.9079, allocations: 1.369 MB / 0.542 GB, free: 159.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.908, allocations: 127.6 kB / 0.5421 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-05/0.9081, allocations: 19.88 kB / 0.5421 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/0.9088, allocations: 62.34 kB / 0.5422 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.9089, allocations: 44.89 kB / 0.5422 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.909, allocations: 29.31 kB / 0.5423 GB, free: 159.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.9093, allocations: 227.8 kB / 0.5425 GB, free: 159.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9093, allocations: 0 / 0.5425 GB, free: 159.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001487/0.9108, allocations: 446.8 kB / 0.5429 GB, free: 159.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/0.9123, allocations: 0.5793 MB / 0.5435 GB, free: 159 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.9144, allocations: 1.004 MB / 0.5445 GB, free: 158.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9144, allocations: 1.25 kB / 0.5445 GB, free: 158.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009931/0.9154, allocations: 426.7 kB / 0.5449 GB, free: 158.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.9171, allocations: 292.6 kB / 0.5451 GB, free: 158.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.9201, allocations: 1.591 MB / 0.5467 GB, free: 157.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.9205, allocations: 0.8507 MB / 0.5475 GB, free: 156.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006108/0.9211, allocations: 133.8 kB / 0.5477 GB, free: 156.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.9213, allocations: 58.86 kB / 0.5477 GB, free: 156.7 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.9213, allocations: 0 / 0.5477 GB, free: 156.7 MB / 430.1 MB Notification: Performance of Templates: time 0.02927/0.9506, allocations: 21.14 MB / 0.5684 GB, free: 139.8 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)