Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001369/0.001369, allocations: 184.9 kB / 17.2 MB, free: 6.34 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.315/1.315, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004666/0.0004668, allocations: 12.22 kB / 280.1 MB, free: 3.773 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.08641, allocations: 47.59 MB / 327.7 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04338/0.1298, allocations: 39.25 MB / 366.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005224/0.1351, allocations: 4.106 MB / 371.1 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003525/0.1355, allocations: 7.938 kB / 371.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.1362, allocations: 199.1 kB / 371.3 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006152/0.1368, allocations: 239.4 kB / 371.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01378/0.1506, allocations: 4.742 MB / 376.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1517, allocations: 0.5937 MB / 376.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.1519, allocations: 101.5 kB / 376.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1641/0.316, allocations: 5.945 MB / 382.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.3167, allocations: 263.2 kB / 383.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.3169, allocations: 24.97 kB / 383.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/0.3326, allocations: 8.362 MB / 391.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003811/0.3331, allocations: 178.8 kB / 391.7 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.3333, allocations: 128.4 kB / 391.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006417/0.3397, allocations: 3.414 MB / 395.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3398, allocations: 0 / 395.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3398, allocations: 0 / 395.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.3398, allocations: 0 / 395.2 MB, free: 14.23 MB / 318.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.003088/0.3429, allocations: 1.213 MB / 396.4 MB, free: 13.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.343, allocations: 10.41 kB / 396.4 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.3433, allocations: 59.19 kB / 396.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.3439, allocations: 354.2 kB / 396.8 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.3439, allocations: 29.91 kB / 396.9 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.344, allocations: 48.06 kB / 396.9 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.3451, allocations: 0.5758 MB / 397.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.3451, allocations: 7.062 kB / 397.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.3452, allocations: 17.03 kB / 397.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.3452, allocations: 15.61 kB / 397.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.3464, allocations: 0.7379 MB / 398.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.3592, allocations: 12.02 MB / 410.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3604, allocations: 0.5355 MB / 410.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/0.3743, allocations: 11.94 MB / 422.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.3744, allocations: 43.94 kB / 422.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.475e-06/0.3744, allocations: 0 / 422.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.005767/0.3802, allocations: 2.124 MB / 424.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3802, allocations: 59.92 kB / 425 MB, free: 3.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.3806, allocations: 322.6 kB / 425.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/0.3807, allocations: 37.64 kB / 425.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3808, allocations: 194.8 kB / 425.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.381, allocations: 194.6 kB / 425.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.3811, allocations: 10.5 kB / 425.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3812, allocations: 351.7 kB / 426.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.3816, allocations: 243.5 kB / 426.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.3822, allocations: 329.9 kB / 426.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.3828, allocations: 286.2 kB / 426.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3828, allocations: 4 kB / 426.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001748/0.3846, allocations: 0.7496 MB / 427.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3846, allocations: 4 kB / 427.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3846, allocations: 4 kB / 427.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/0.3851, allocations: 106.5 kB / 427.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.3856, allocations: 127.2 kB / 427.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.3881, allocations: 3.293 MB / 431.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.3885, allocations: 35.08 kB / 431.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.3886, allocations: 34.56 kB / 431.3 MB, free: 13.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 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.0002742/0.3888, allocations: 198.2 kB / 431.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.3891, allocations: 47.19 kB / 431.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.3906, allocations: 0.816 MB / 432.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3907, allocations: 4 kB / 432.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.3907, allocations: 4 kB / 432.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.3917, allocations: 0.7633 MB / 433.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.3938, allocations: 1.3 MB / 434.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3938, allocations: 4 kB / 434.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.3943, allocations: 103.4 kB / 434.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009087/0.3952, allocations: 153.4 kB / 434.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.3952, allocations: 18.48 kB / 434.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000378/0.3956, allocations: 0.6413 MB / 435.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/0.3956, allocations: 7.312 kB / 435.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3972, allocations: 0.9208 MB / 436.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.3974, allocations: 129.3 kB / 436.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.3974, allocations: 14.48 kB / 436.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.3979, allocations: 35.14 kB / 436.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.398, allocations: 35.86 kB / 436.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.398, allocations: 34.09 kB / 436.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.3983, allocations: 253.2 kB / 436.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3983, allocations: 0 / 436.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003749/0.4021, allocations: 1.299 MB / 438 MB, free: 7.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00604/0.4081, allocations: 1.578 MB / 439.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.4097, allocations: 0.8062 MB / 440.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4097, allocations: 4.562 kB / 440.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.4103, allocations: 291.7 kB / 440.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.4117, allocations: 255.2 kB / 441 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.4137, allocations: 1.305 MB / 442.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.4141, allocations: 0.8396 MB / 443.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005714/0.4147, allocations: 144.4 kB / 443.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.4148, allocations: 58.48 kB / 443.3 MB, free: 3.254 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4148, allocations: 0 / 443.3 MB, free: 3.254 MB / 350.1 MB Notification: Performance of Templates: time 0.06481/0.4797, allocations: 45.87 MB / 489.2 MB, free: 5.508 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) Environment - environmentSimulation: