Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007888/0.0007889, allocations: 87.14 kB / 16.32 MB, free: 6.449 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.0008491/0.0008492, allocations: 178.2 kB / 17.21 MB, free: 6.32 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.364/1.364, allocations: 205.4 MB / 223.4 MB, free: 5.59 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.0007764/0.0007764, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2597, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03128/0.291, allocations: 24.67 MB / 352.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.2938, allocations: 2.082 MB / 354.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2939, allocations: 0 / 354.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.2942, allocations: 35.8 kB / 354.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.2947, allocations: 143.2 kB / 354.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01526/0.31, allocations: 4.56 MB / 359.2 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006238/0.3106, allocations: 390.4 kB / 359.6 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.809e-05/0.3107, allocations: 12.91 kB / 359.6 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.311, allocations: 123.6 kB / 359.7 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.3113, allocations: 127.5 kB / 359.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.3114, allocations: 8 kB / 359.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.3269, allocations: 8.22 MB / 368.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.327, allocations: 55.86 kB / 368.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.3272, allocations: 61.64 kB / 368.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005579/0.3327, allocations: 2.998 MB / 371.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3328, allocations: 7.938 kB / 371.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3328, allocations: 0 / 371.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3328, allocations: 0 / 371.2 MB, free: 7.941 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00315/0.336, allocations: 1.072 MB / 372.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.336, allocations: 8.031 kB / 372.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3362, allocations: 23.77 kB / 372.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.3364, allocations: 210.9 kB / 372.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3365, allocations: 12.33 kB / 372.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.3365, allocations: 16 kB / 372.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.3372, allocations: 289.4 kB / 372.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3372, allocations: 0 / 372.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.3373, allocations: 8 kB / 372.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.3373, allocations: 7.984 kB / 372.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/0.3381, allocations: 307.8 kB / 373.1 MB, free: 5.902 MB / 302.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.001394/0.3395, allocations: 0.8321 MB / 374 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.3402, allocations: 253.1 kB / 374.2 MB, free: 4.727 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.3405, allocations: 141.6 kB / 374.4 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01513/0.3556, allocations: 12.91 MB / 387.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.3557, allocations: 42.56 kB / 387.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.234e-06/0.3557, allocations: 0 / 387.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002667/0.3584, allocations: 0.6813 MB / 388 MB, free: 4.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3585, allocations: 85.06 kB / 388.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3586, allocations: 125.8 kB / 388.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.3586, allocations: 37.7 kB / 388.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.3587, allocations: 108.8 kB / 388.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3588, allocations: 126.2 kB / 388.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.3588, allocations: 4 kB / 388.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3589, allocations: 326.8 kB / 388.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.3593, allocations: 135.9 kB / 388.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.3598, allocations: 207.5 kB / 389.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.3602, allocations: 151.9 kB / 389.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3603, allocations: 0 / 389.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00106/0.3613, allocations: 409.1 kB / 389.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3613, allocations: 8 kB / 389.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3614, allocations: 0 / 389.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3614, allocations: 12.22 kB / 389.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.3618, allocations: 91.81 kB / 389.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.315e-05/0.3619, allocations: 15.92 kB / 389.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.3622, allocations: 27.83 kB / 389.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.3622, allocations: 19.98 kB / 389.8 MB, free: 2.488 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.3624, allocations: 141.8 kB / 390 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3625, allocations: 23.75 kB / 390 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.363, allocations: 187.1 kB / 390.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.363, allocations: 4 kB / 390.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.363, allocations: 3.938 kB / 390.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3631, allocations: 7.938 kB / 390.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.3647, allocations: 0.7596 MB / 391 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3647, allocations: 0 / 391 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.3651, allocations: 88.03 kB / 391 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.3651, allocations: 4 kB / 391 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.3652, allocations: 8 kB / 391.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.3652, allocations: 7.938 kB / 391.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3652, allocations: 3.984 kB / 391.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.3666, allocations: 0.7061 MB / 391.8 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3667, allocations: 128.8 kB / 391.9 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.3668, allocations: 8 kB / 391.9 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.3671, allocations: 23.98 kB / 391.9 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3672, allocations: 24.03 kB / 391.9 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.3672, allocations: 19.98 kB / 392 MB, free: 224 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.459e-05/0.3673, allocations: 91.27 kB / 392.1 MB, free: 132 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3673, allocations: 0 / 392.1 MB, free: 132 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.003248/0.3705, allocations: 0.9252 MB / 393 MB, free: 15.2 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004526/0.3751, allocations: 1.19 MB / 394.2 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3761, allocations: 343.2 kB / 394.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.3761, allocations: 4 kB / 394.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.3766, allocations: 180.5 kB / 394.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.3773, allocations: 99.78 kB / 394.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3788, allocations: 0.7218 MB / 395.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.3792, allocations: 0.7413 MB / 396.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004643/0.3797, allocations: 77.91 kB / 396.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3798, allocations: 35.42 kB / 396.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3798, allocations: 0 / 396.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of Templates: time 0.04674/0.4266, allocations: 30.97 MB / 427.3 MB, free: 12.72 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)