Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001273/0.001273, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001387/0.001387, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.365/1.365, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.001109/0.001109, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1917, allocations: 46.62 MB / 324.8 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0504/0.2422, allocations: 50.6 MB / 375.4 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005785/0.248, allocations: 5.184 MB / 380.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.2482, allocations: 7.938 kB / 380.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.2489, allocations: 223 kB / 380.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.2495, allocations: 346.2 kB / 381.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01578/0.2653, allocations: 6.099 MB / 387.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.2671, allocations: 1.091 MB / 388.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.2674, allocations: 149.5 kB / 388.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006837/0.2743, allocations: 3.745 MB / 392.3 MB, free: 480 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.2749, allocations: 426.6 kB / 392.7 MB, free: 52 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.275, allocations: 56.05 kB / 392.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01481/0.2898, allocations: 9.787 MB / 402.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.2901, allocations: 219.5 kB / 402.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.2905, allocations: 306.9 kB / 403 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009607/0.3001, allocations: 5.609 MB / 408.7 MB, free: 60 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3002, allocations: 0 / 408.7 MB, free: 60 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3002, allocations: 0 / 408.7 MB, free: 60 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3002, allocations: 4 kB / 408.7 MB, free: 56 kB / 334.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.002787/0.303, allocations: 1.349 MB / 410 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.303, allocations: 12.03 kB / 410 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.3034, allocations: 51.53 kB / 410.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.3038, allocations: 361.9 kB / 410.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.3038, allocations: 41 kB / 410.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.3039, allocations: 40 kB / 410.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.3051, allocations: 0.5881 MB / 411.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3052, allocations: 4 kB / 411.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.3052, allocations: 20 kB / 411.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3052, allocations: 8 kB / 411.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.3065, allocations: 0.7417 MB / 411.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.3216, allocations: 11.96 MB / 423.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3228, allocations: 0.5274 MB / 424.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.3232, allocations: 258 kB / 424.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01427/0.3375, allocations: 11.89 MB / 436.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.3376, allocations: 43 kB / 436.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.525e-06/0.3376, allocations: 3.938 kB / 436.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005905/0.3435, allocations: 2.128 MB / 438.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.3436, allocations: 59.97 kB / 438.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.3439, allocations: 318.9 kB / 439 MB, free: 13.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.344, allocations: 37.7 kB / 439.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.3442, allocations: 204.3 kB / 439.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.3443, allocations: 189.3 kB / 439.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.3445, allocations: 110.1 kB / 439.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3446, allocations: 346.8 kB / 439.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.345, allocations: 245 kB / 440.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/0.3456, allocations: 339.4 kB / 440.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.3468, allocations: 0.6034 MB / 441.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3468, allocations: 0 / 441.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00173/0.3485, allocations: 0.7518 MB / 441.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3485, allocations: 11.94 kB / 441.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3486, allocations: 4 kB / 441.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.349, allocations: 102.7 kB / 441.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.3495, allocations: 127.8 kB / 442.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.3518, allocations: 3.476 MB / 445.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.3522, allocations: 32.17 kB / 445.6 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/0.3523, allocations: 31.98 kB / 445.6 MB, free: 6.062 MB / 382.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 (not torn): 1 * Torn equation systems: 2 * 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 {2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.3526, allocations: 193.6 kB / 445.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.3529, allocations: 51.53 kB / 445.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.3544, allocations: 0.815 MB / 446.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3544, allocations: 8 kB / 446.7 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.3544, allocations: 4 kB / 446.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/0.3554, allocations: 0.7596 MB / 447.4 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.3573, allocations: 1.301 MB / 448.7 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3573, allocations: 0 / 448.7 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.3578, allocations: 91.89 kB / 448.8 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000924/0.3587, allocations: 152.6 kB / 449 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.3588, allocations: 27.92 kB / 449 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003772/0.3592, allocations: 0.6444 MB / 449.7 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3592, allocations: 0 / 449.7 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.3607, allocations: 0.9122 MB / 450.6 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/0.3608, allocations: 116.7 kB / 450.7 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.3609, allocations: 12 kB / 450.7 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.3614, allocations: 31.97 kB / 450.7 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.3614, allocations: 36.39 kB / 450.8 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.3615, allocations: 27.97 kB / 450.8 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.3618, allocations: 253.9 kB / 451 MB, free: 408 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3618, allocations: 0 / 451 MB, free: 408 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.1489/0.5107, allocations: 1.304 MB / 452.3 MB, free: 118 MB / 382.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 (not torn): 1 * Torn equation systems: 0 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00535/0.5161, allocations: 1.707 MB / 454 MB, free: 117.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.518, allocations: 0.8548 MB / 454.9 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.518, allocations: 1.812 kB / 454.9 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005475/0.5185, allocations: 294.1 kB / 455.2 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.52, allocations: 272.6 kB / 455.5 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.5217, allocations: 1.264 MB / 456.7 MB, free: 117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.522, allocations: 0.8373 MB / 457.6 MB, free: 116.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000504/0.5225, allocations: 149 kB / 457.7 MB, free: 116.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.5226, allocations: 57.69 kB / 457.8 MB, free: 116.2 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5226, allocations: 3.781 kB / 457.8 MB, free: 116.2 MB / 382.1 MB Notification: Performance of Templates: time 0.04586/0.5685, allocations: 46.33 MB / 0.4923 GB, free: 74.32 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)