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.001079/0.001079, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001242/0.001242, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.5806/0.5806, allocations: 95.63 MB / 366 MB, free: 10.43 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.0006228/0.0006229, allocations: 15.91 kB / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3489, allocations: 70.33 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck): time 0.001264/0.3502, allocations: 0.9673 MB / 0.506 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5802/0.9304, allocations: 145.4 MB / 0.648 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.9305, allocations: 4 kB / 0.648 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.9306, allocations: 0 / 0.648 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.9306, allocations: 2.625 kB / 0.648 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.931, allocations: 72.23 kB / 0.6481 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.9311, allocations: 23.92 kB / 0.6481 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.267e-05/0.9312, allocations: 1.656 kB / 0.6481 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.688e-05/0.9312, allocations: 13.91 kB / 0.6481 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.9313, allocations: 16.38 kB / 0.6481 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.9313, allocations: 1.688 kB / 0.6481 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.9316, allocations: 57.16 kB / 0.6482 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.9316, allocations: 11.27 kB / 0.6482 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.9316, allocations: 28.58 kB / 0.6482 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.9318, allocations: 45.7 kB / 0.6483 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.9318, allocations: 0 / 0.6483 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.9318, allocations: 3.047 kB / 0.6483 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.9318, allocations: 2.391 kB / 0.6483 GB, free: 0.9883 MB / 494.1 MB 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.0005589/0.9324, allocations: 338.9 kB / 0.6486 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.9324, allocations: 7.75 kB / 0.6486 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.9325, allocations: 10.89 kB / 0.6486 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.9326, allocations: 164 kB / 0.6488 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.9327, allocations: 1.625 kB / 0.6488 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.9327, allocations: 6.844 kB / 0.6488 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.9329, allocations: 66.36 kB / 0.6488 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.9329, allocations: 5.047 kB / 0.6488 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.9329, allocations: 1.469 kB / 0.6488 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.933, allocations: 5.562 kB / 0.6488 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.933, allocations: 13.44 kB / 0.6489 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.9332, allocations: 181.6 kB / 0.649 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.9333, allocations: 68.77 kB / 0.6491 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.9334, allocations: 28.98 kB / 0.6491 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.9337, allocations: 243.4 kB / 0.6494 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.9337, allocations: 37.03 kB / 0.6494 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.9337, allocations: 3.938 kB / 0.6494 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001109/0.9349, allocations: 0.6746 MB / 0.6501 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.9349, allocations: 105.5 kB / 0.6502 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.935, allocations: 103.9 kB / 0.6503 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.9351, allocations: 31.39 kB / 0.6503 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.9351, allocations: 80.14 kB / 0.6504 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.9351, allocations: 39.14 kB / 0.6504 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.9351, allocations: 3.156 kB / 0.6504 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.9353, allocations: 315.8 kB / 0.6507 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.9353, allocations: 14.45 kB / 0.6507 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.369e-05/0.9354, allocations: 53.69 kB / 0.6508 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/0.9355, allocations: 23.47 kB / 0.6508 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9355, allocations: 1.094 kB / 0.6508 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001693/0.9356, allocations: 96.45 kB / 0.6509 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.9357, allocations: 5.438 kB / 0.6509 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9357, allocations: 5.969 kB / 0.6509 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9357, allocations: 2.125 kB / 0.6509 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.9358, allocations: 23 kB / 0.6509 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.9358, allocations: 7.688 kB / 0.6509 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.9359, allocations: 7.25 kB / 0.6509 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.9359, allocations: 6.641 kB / 0.6509 GB, free: 14.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.936, allocations: 120.8 kB / 0.6511 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.936, allocations: 2.188 kB / 0.6511 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.9363, allocations: 102 kB / 0.6512 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.9363, allocations: 2 kB / 0.6512 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.9363, allocations: 0.7188 kB / 0.6512 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.9364, allocations: 4.828 kB / 0.6512 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.9366, allocations: 165 kB / 0.6513 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.9366, allocations: 4.656 kB / 0.6513 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.9367, allocations: 22.2 kB / 0.6513 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.9367, allocations: 2.062 kB / 0.6513 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.9367, allocations: 0.9375 kB / 0.6513 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.9368, allocations: 1.062 kB / 0.6514 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.9368, allocations: 1.156 kB / 0.6514 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.9371, allocations: 140.1 kB / 0.6515 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.9372, allocations: 86.72 kB / 0.6516 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.9372, allocations: 4.656 kB / 0.6516 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.9373, allocations: 9.781 kB / 0.6516 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.9373, allocations: 7.734 kB / 0.6516 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.9373, allocations: 3.094 kB / 0.6516 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.9373, allocations: 79.12 kB / 0.6517 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9373, allocations: 0 / 0.6517 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002678/0.9376, allocations: 34.62 kB / 0.6517 GB, free: 13.66 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 (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.000261/0.9379, allocations: 130.8 kB / 0.6518 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.9381, allocations: 47.48 kB / 0.6519 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9381, allocations: 3.547 kB / 0.6519 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.9381, allocations: 27.8 kB / 0.6519 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.9383, allocations: 14.45 kB / 0.6519 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.939, allocations: 371.5 kB / 0.6523 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.9393, allocations: 0.6901 MB / 0.6529 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.227e-05/0.9393, allocations: 14.5 kB / 0.653 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.9394, allocations: 11.97 kB / 0.653 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.9394, allocations: 0 / 0.653 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.003902/0.9433, allocations: 0.9544 MB / 0.6539 GB, free: 12.42 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: