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.0008835/0.0008899, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005912/0.005913, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.68/1.68, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.6754/0.6754, allocations: 95.62 MB / 366.4 MB, free: 10.23 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.0005372/0.0005375, allocations: 12 kB / 447.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4039, allocations: 70.34 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck): time 0.001042/0.405, allocations: 0.9789 MB / 0.5066 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5882/0.9932, allocations: 156.1 MB / 0.6591 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.9933, allocations: 0 / 0.6591 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.9933, allocations: 2.891 kB / 0.6591 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.9934, allocations: 0.5312 kB / 0.6591 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.9938, allocations: 79.78 kB / 0.6591 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.9938, allocations: 23.58 kB / 0.6592 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.9939, allocations: 4.219 kB / 0.6592 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.9939, allocations: 17.77 kB / 0.6592 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.994, allocations: 20.55 kB / 0.6592 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.994, allocations: 3.844 kB / 0.6592 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.9942, allocations: 54.81 kB / 0.6593 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.9943, allocations: 8.984 kB / 0.6593 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.9943, allocations: 41.45 kB / 0.6593 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.9945, allocations: 64.22 kB / 0.6594 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9945, allocations: 0 / 0.6594 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9945, allocations: 3.375 kB / 0.6594 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.9945, allocations: 0 / 0.6594 GB, free: 12.59 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.0003733/0.9949, allocations: 340.4 kB / 0.6597 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.995, allocations: 13.42 kB / 0.6597 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.995, allocations: 3.312 kB / 0.6597 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.9951, allocations: 161.5 kB / 0.6599 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.9952, allocations: 2.719 kB / 0.6599 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.9952, allocations: 4.578 kB / 0.6599 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.9953, allocations: 82.14 kB / 0.66 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.9954, allocations: 4 kB / 0.66 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.9954, allocations: 2.109 kB / 0.66 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.9954, allocations: 3.344 kB / 0.66 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.179e-05/0.9954, allocations: 11.28 kB / 0.66 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.9956, allocations: 182.3 kB / 0.6601 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.9957, allocations: 73.81 kB / 0.6602 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.9958, allocations: 23.55 kB / 0.6602 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.9961, allocations: 247.9 kB / 0.6605 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.9961, allocations: 40.47 kB / 0.6605 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.9961, allocations: 0 / 0.6605 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0009198/0.997, allocations: 0.6687 MB / 0.6612 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.9971, allocations: 110.8 kB / 0.6613 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.005e-05/0.9972, allocations: 99.36 kB / 0.6614 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.9972, allocations: 25.7 kB / 0.6614 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.9973, allocations: 80.14 kB / 0.6615 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.9973, allocations: 39.03 kB / 0.6615 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.9974, allocations: 19.7 kB / 0.6615 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.9975, allocations: 314.5 kB / 0.6618 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.9975, allocations: 18.75 kB / 0.6618 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.9976, allocations: 57.88 kB / 0.6619 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.9977, allocations: 79 kB / 0.662 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9977, allocations: 3.688 kB / 0.662 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001309/0.9978, allocations: 93.3 kB / 0.6621 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.9979, allocations: 6.75 kB / 0.6621 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.9979, allocations: 3.938 kB / 0.6621 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9979, allocations: 3.328 kB / 0.6621 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.998, allocations: 21.88 kB / 0.6621 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.998, allocations: 6.828 kB / 0.6621 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.998, allocations: 11.02 kB / 0.6621 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.9981, allocations: 3.312 kB / 0.6621 GB, free: 9.773 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 8.612e-05/0.9982, allocations: 120.6 kB / 0.6622 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.9982, allocations: 2.375 kB / 0.6622 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.9984, allocations: 109.5 kB / 0.6623 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.9984, allocations: 2.969 kB / 0.6623 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9984, allocations: 0 / 0.6623 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9984, allocations: 5.766 kB / 0.6623 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.9985, allocations: 167 kB / 0.6625 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9985, allocations: 0 / 0.6625 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.9986, allocations: 24.52 kB / 0.6625 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9986, allocations: 3.938 kB / 0.6625 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.9987, allocations: 3.938 kB / 0.6625 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.9987, allocations: 7.469 kB / 0.6625 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9987, allocations: 4 kB / 0.6625 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.9989, allocations: 129.5 kB / 0.6627 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.9989, allocations: 91.48 kB / 0.6628 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.999, allocations: 3.781 kB / 0.6628 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.999, allocations: 8.797 kB / 0.6628 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.9991, allocations: 8.766 kB / 0.6628 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.9991, allocations: 2.625 kB / 0.6628 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.9991, allocations: 76.03 kB / 0.6629 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9991, allocations: 1.281 kB / 0.6629 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002229/0.9994, allocations: 33.17 kB / 0.6629 GB, free: 9.133 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.0001725/0.9995, allocations: 127.6 kB / 0.663 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.9997, allocations: 54.61 kB / 0.6631 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9997, allocations: 4.062 kB / 0.6631 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.9998, allocations: 27.84 kB / 0.6631 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.9999, allocations: 12.16 kB / 0.6631 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/1.001, allocations: 374.9 kB / 0.6635 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.001, allocations: 0.6846 MB / 0.6641 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.487e-05/1.001, allocations: 14.38 kB / 0.6641 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/1.001, allocations: 15.97 kB / 0.6642 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/1.001, allocations: 0.7188 kB / 0.6642 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of Templates: time 0.003758/1.005, allocations: 0.9696 MB / 0.6651 GB, free: 7.875 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: