Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001444/0.001444, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.52/1.52, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6432/0.6432, allocations: 95.47 MB / 364.9 MB, free: 10.02 MB / 302.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: Buildings requested package Modelica of version 3.2.1. 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.001437/0.001437, allocations: 63.91 kB / 444.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3811, allocations: 69.08 MB / 0.5019 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck): time 0.002287/0.3835, allocations: 1.31 MB / 0.5032 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5796/0.963, allocations: 157.7 MB / 0.6572 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.9632, allocations: 3.062 kB / 0.6572 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.9633, allocations: 2.625 kB / 0.6572 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.9633, allocations: 3.938 kB / 0.6572 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.9638, allocations: 77.3 kB / 0.6573 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.9638, allocations: 30.86 kB / 0.6573 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.9639, allocations: 3.688 kB / 0.6573 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.9639, allocations: 14.56 kB / 0.6573 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.964, allocations: 14.36 kB / 0.6573 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.964, allocations: 0 / 0.6573 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.9642, allocations: 66.66 kB / 0.6574 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.9643, allocations: 4.656 kB / 0.6574 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.9643, allocations: 19.25 kB / 0.6574 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.9645, allocations: 62.78 kB / 0.6575 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9645, allocations: 0 / 0.6575 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9645, allocations: 2.641 kB / 0.6575 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.9645, allocations: 0 / 0.6575 GB, free: 12.29 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000364/0.9649, allocations: 350.3 kB / 0.6578 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.9649, allocations: 14.64 kB / 0.6578 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.965, allocations: 3.484 kB / 0.6578 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.9651, allocations: 161.6 kB / 0.658 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.9651, allocations: 3 kB / 0.658 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.9651, allocations: 10.41 kB / 0.658 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.9653, allocations: 69.14 kB / 0.6581 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.9653, allocations: 5.219 kB / 0.6581 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.9653, allocations: 3.938 kB / 0.6581 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.9653, allocations: 0 / 0.6581 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.9654, allocations: 12.03 kB / 0.6581 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.9656, allocations: 183.2 kB / 0.6583 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.086e-05/0.9657, allocations: 69.14 kB / 0.6583 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.9657, allocations: 29.62 kB / 0.6583 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.966, allocations: 253.2 kB / 0.6586 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.9661, allocations: 35.42 kB / 0.6586 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.9661, allocations: 0 / 0.6586 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001269/0.9673, allocations: 0.679 MB / 0.6593 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.9674, allocations: 108.3 kB / 0.6594 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.9675, allocations: 95.36 kB / 0.6595 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.9675, allocations: 30.11 kB / 0.6595 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.9676, allocations: 80.67 kB / 0.6596 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.9677, allocations: 42.27 kB / 0.6596 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.9677, allocations: 28.47 kB / 0.6597 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9679, allocations: 315.4 kB / 0.66 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.9679, allocations: 13.94 kB / 0.66 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.968, allocations: 50.39 kB / 0.66 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.9681, allocations: 86.88 kB / 0.6601 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.9681, allocations: 0.625 kB / 0.6601 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001943/0.9683, allocations: 97.2 kB / 0.6602 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.9684, allocations: 7.812 kB / 0.6602 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9684, allocations: 1.625 kB / 0.6602 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9684, allocations: 2.125 kB / 0.6602 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.9685, allocations: 22.98 kB / 0.6602 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9685, allocations: 4.078 kB / 0.6602 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.9686, allocations: 2.188 kB / 0.6602 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.9686, allocations: 3.844 kB / 0.6602 GB, free: 9.469 MB / 0.4981 GB 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.9687, allocations: 131 kB / 0.6604 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.9687, allocations: 8.266 kB / 0.6604 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.969, allocations: 102.2 kB / 0.6605 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.969, allocations: 1.875 kB / 0.6605 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.969, allocations: 1.281 kB / 0.6605 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.969, allocations: 0.5 kB / 0.6605 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.9692, allocations: 169.8 kB / 0.6606 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.9692, allocations: 1.031 kB / 0.6606 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.9693, allocations: 29.5 kB / 0.6607 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.9693, allocations: 0 / 0.6607 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.9693, allocations: 2.719 kB / 0.6607 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9693, allocations: 0 / 0.6607 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9693, allocations: 1.094 kB / 0.6607 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.9695, allocations: 128.7 kB / 0.6608 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.9696, allocations: 98.75 kB / 0.6609 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.9697, allocations: 3.75 kB / 0.6609 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.9697, allocations: 5.281 kB / 0.6609 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.9698, allocations: 8.578 kB / 0.6609 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.9698, allocations: 5.844 kB / 0.6609 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.9698, allocations: 79.22 kB / 0.661 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9698, allocations: 1.094 kB / 0.661 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002339/0.9701, allocations: 32.69 kB / 0.661 GB, free: 8.824 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hAirSym,hSteSym,hLiqSym) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002002/0.9703, allocations: 142 kB / 0.6611 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.9704, allocations: 51 kB / 0.6612 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.9704, allocations: 3 kB / 0.6612 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.9705, allocations: 26.86 kB / 0.6612 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.9706, allocations: 10.09 kB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.9712, allocations: 333.8 kB / 0.6615 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.9716, allocations: 0.6885 MB / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.95e-05/0.9716, allocations: 8.844 kB / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.9716, allocations: 14.95 kB / 0.6622 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.9716, allocations: 0 / 0.6622 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.003358/0.975, allocations: 1.002 MB / 0.6632 GB, free: 7.57 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe 2>&1)