Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.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.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 97.33 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.01334/0.01334, allocations: 172.2 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.673/1.673, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.6078/0.6078, allocations: 95.63 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.00061/0.00061, allocations: 16 kB / 447.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3345, allocations: 70.34 MB / 0.5057 GB, free: 16.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck): time 0.001342/0.3359, allocations: 0.9789 MB / 0.5066 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5927/0.9287, allocations: 151.2 MB / 0.6542 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.9288, allocations: 0 / 0.6542 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.9288, allocations: 3.797 kB / 0.6542 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.9289, allocations: 7.938 kB / 0.6542 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.9292, allocations: 73.02 kB / 0.6543 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.9293, allocations: 30.75 kB / 0.6543 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.9293, allocations: 4.516 kB / 0.6543 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.9294, allocations: 9.5 kB / 0.6544 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.9294, allocations: 19.23 kB / 0.6544 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.9295, allocations: 1.875 kB / 0.6544 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.9296, allocations: 62.48 kB / 0.6544 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.9297, allocations: 9.234 kB / 0.6544 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.9297, allocations: 40.56 kB / 0.6545 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.9299, allocations: 61.52 kB / 0.6545 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.9299, allocations: 0 / 0.6545 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9299, allocations: 3.703 kB / 0.6545 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.9299, allocations: 0 / 0.6545 GB, free: 12.88 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.0003551/0.9303, allocations: 339.7 kB / 0.6549 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.9303, allocations: 13.36 kB / 0.6549 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.9304, allocations: 7.031 kB / 0.6549 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.9305, allocations: 170.8 kB / 0.655 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.9305, allocations: 1 kB / 0.655 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.9305, allocations: 7.531 kB / 0.6551 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.9307, allocations: 66.72 kB / 0.6551 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.9307, allocations: 0 / 0.6551 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.9307, allocations: 4.906 kB / 0.6551 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.9307, allocations: 1.375 kB / 0.6551 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.9307, allocations: 15.64 kB / 0.6551 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.9309, allocations: 183.5 kB / 0.6553 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.931, allocations: 66.67 kB / 0.6554 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.931, allocations: 30.75 kB / 0.6554 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.9313, allocations: 247.6 kB / 0.6556 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.9314, allocations: 36.88 kB / 0.6557 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.9314, allocations: 2.734 kB / 0.6557 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0008996/0.9323, allocations: 0.6772 MB / 0.6563 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.9324, allocations: 107.9 kB / 0.6564 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.9324, allocations: 92.95 kB / 0.6565 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.9325, allocations: 33.36 kB / 0.6566 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.9325, allocations: 80.14 kB / 0.6566 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.9325, allocations: 41.28 kB / 0.6567 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.9326, allocations: 16.34 kB / 0.6567 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.9327, allocations: 317 kB / 0.657 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.9327, allocations: 14.55 kB / 0.657 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.613e-05/0.9328, allocations: 62.19 kB / 0.6571 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.9328, allocations: 73.56 kB / 0.6571 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.9328, allocations: 0 / 0.6571 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000131/0.933, allocations: 98.31 kB / 0.6572 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.933, allocations: 4.469 kB / 0.6572 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.933, allocations: 5.75 kB / 0.6572 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.933, allocations: 2 kB / 0.6572 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.9331, allocations: 22.8 kB / 0.6573 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.9332, allocations: 6.938 kB / 0.6573 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.9332, allocations: 6.25 kB / 0.6573 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.9332, allocations: 5.938 kB / 0.6573 GB, free: 10.06 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 7.933e-05/0.9333, allocations: 116.6 kB / 0.6574 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.9333, allocations: 5.375 kB / 0.6574 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.9335, allocations: 104.2 kB / 0.6575 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.9335, allocations: 4.859 kB / 0.6575 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9335, allocations: 0 / 0.6575 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9335, allocations: 4 kB / 0.6575 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.9336, allocations: 162 kB / 0.6577 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.9337, allocations: 4.391 kB / 0.6577 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.9338, allocations: 21.94 kB / 0.6577 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9338, allocations: 1.031 kB / 0.6577 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.9338, allocations: 9.312 kB / 0.6577 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.9338, allocations: 5.406 kB / 0.6577 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9338, allocations: 0.9688 kB / 0.6577 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.934, allocations: 126 kB / 0.6578 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.9341, allocations: 93.19 kB / 0.6579 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.9341, allocations: 10.58 kB / 0.6579 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.9342, allocations: 3.031 kB / 0.6579 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.9342, allocations: 10.69 kB / 0.6579 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.9342, allocations: 7.125 kB / 0.6579 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.9343, allocations: 82.52 kB / 0.658 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9343, allocations: 6.828 kB / 0.658 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002751/0.9345, allocations: 30.88 kB / 0.6581 GB, free: 9.414 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.00022/0.9348, allocations: 124.3 kB / 0.6582 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.9349, allocations: 48.5 kB / 0.6582 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9349, allocations: 0 / 0.6582 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.935, allocations: 24.77 kB / 0.6583 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.9352, allocations: 15.38 kB / 0.6583 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.9358, allocations: 384.1 kB / 0.6586 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.9361, allocations: 0.6861 MB / 0.6593 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.208e-05/0.9361, allocations: 8.312 kB / 0.6593 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.9362, allocations: 14.84 kB / 0.6593 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.9362, allocations: 0 / 0.6593 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of Templates: time 0.003572/0.9398, allocations: 0.9828 MB / 0.6603 GB, free: 8.148 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: