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.00119/0.00119, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.655/1.655, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.6879/0.6879, allocations: 95.49 MB / 365.2 MB, free: 9.875 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.001988/0.001988, allocations: 76.55 kB / 445.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4024, allocations: 69.08 MB / 0.5024 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck): time 0.00234/0.4048, allocations: 1.25 MB / 0.5036 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.6136/1.018, allocations: 160 MB / 0.6598 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/1.019, allocations: 0 / 0.6598 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/1.019, allocations: 5.484 kB / 0.6598 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/1.019, allocations: 5.969 kB / 0.6598 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/1.019, allocations: 89.88 kB / 0.6599 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/1.019, allocations: 27.45 kB / 0.6599 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/1.019, allocations: 2.094 kB / 0.6599 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/1.019, allocations: 17.83 kB / 0.6599 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/1.02, allocations: 17.92 kB / 0.66 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/1.02, allocations: 3.625 kB / 0.66 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/1.02, allocations: 62.69 kB / 0.66 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/1.02, allocations: 5.688 kB / 0.66 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/1.02, allocations: 16.81 kB / 0.66 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/1.02, allocations: 61.89 kB / 0.6601 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.02, allocations: 0 / 0.6601 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.02, allocations: 0 / 0.6601 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.365e-06/1.02, allocations: 0 / 0.6601 GB, free: 13.28 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.0004631/1.021, allocations: 356.2 kB / 0.6604 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.021, allocations: 12.89 kB / 0.6604 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/1.021, allocations: 1.406 kB / 0.6605 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/1.021, allocations: 165.8 kB / 0.6606 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.021, allocations: 2.156 kB / 0.6606 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/1.021, allocations: 5.625 kB / 0.6606 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/1.021, allocations: 72.03 kB / 0.6607 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.021, allocations: 0 / 0.6607 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/1.021, allocations: 5.156 kB / 0.6607 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.021, allocations: 2.531 kB / 0.6607 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/1.021, allocations: 16 kB / 0.6607 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/1.021, allocations: 175.4 kB / 0.6609 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.684e-05/1.022, allocations: 71.25 kB / 0.6609 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/1.022, allocations: 25.3 kB / 0.661 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/1.022, allocations: 248.5 kB / 0.6612 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/1.022, allocations: 40.91 kB / 0.6612 GB, free: 12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 3.056e-06/1.022, allocations: 4 kB / 0.6612 GB, free: 12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001142/1.023, allocations: 0.6759 MB / 0.6619 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/1.023, allocations: 111.6 kB / 0.662 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.023, allocations: 89.86 kB / 0.6621 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/1.023, allocations: 31.77 kB / 0.6621 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/1.023, allocations: 87.52 kB / 0.6622 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/1.023, allocations: 32.64 kB / 0.6622 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/1.024, allocations: 30.7 kB / 0.6623 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.024, allocations: 314.4 kB / 0.6626 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.178e-05/1.024, allocations: 15.22 kB / 0.6626 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/1.024, allocations: 57.27 kB / 0.6626 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/1.024, allocations: 84.59 kB / 0.6627 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.024, allocations: 3.031 kB / 0.6627 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001482/1.024, allocations: 92.69 kB / 0.6628 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.024, allocations: 4.969 kB / 0.6628 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.024, allocations: 4.016 kB / 0.6628 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.024, allocations: 0 / 0.6628 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.024, allocations: 27.55 kB / 0.6628 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.024, allocations: 6.469 kB / 0.6629 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/1.024, allocations: 0 / 0.6629 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/1.024, allocations: 9.281 kB / 0.6629 GB, free: 10.46 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 9.766e-05/1.024, allocations: 115.2 kB / 0.663 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/1.024, allocations: 10.75 kB / 0.663 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/1.025, allocations: 100.2 kB / 0.6631 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.025, allocations: 2.938 kB / 0.6631 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.025, allocations: 0 / 0.6631 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.025, allocations: 5.656 kB / 0.6631 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/1.025, allocations: 167.4 kB / 0.6632 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.025, allocations: 2.688 kB / 0.6632 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.025, allocations: 20.61 kB / 0.6633 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.025, allocations: 0.75 kB / 0.6633 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/1.025, allocations: 5.438 kB / 0.6633 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/1.025, allocations: 1.5 kB / 0.6633 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.025, allocations: 1 kB / 0.6633 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/1.025, allocations: 135.8 kB / 0.6634 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/1.025, allocations: 91.31 kB / 0.6635 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/1.025, allocations: 8.594 kB / 0.6635 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/1.025, allocations: 2.531 kB / 0.6635 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/1.025, allocations: 12.92 kB / 0.6635 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/1.026, allocations: 4.312 kB / 0.6635 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.354e-05/1.026, allocations: 77.67 kB / 0.6636 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.974e-06/1.026, allocations: 96 / 0.6636 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002423/1.026, allocations: 39.41 kB / 0.6636 GB, free: 9.812 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.0002147/1.026, allocations: 131.8 kB / 0.6638 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001513/1.026, allocations: 52.84 kB / 0.6638 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.026, allocations: 4.062 kB / 0.6638 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/1.026, allocations: 34.06 kB / 0.6638 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/1.026, allocations: 16.02 kB / 0.6639 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/1.027, allocations: 307.2 kB / 0.6642 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/1.027, allocations: 0.6876 MB / 0.6648 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.036e-05/1.027, allocations: 10.92 kB / 0.6648 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/1.027, allocations: 19.69 kB / 0.6649 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/1.027, allocations: 0 / 0.6649 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of Templates: time 0.003692/1.031, allocations: 0.9972 MB / 0.6658 GB, free: 8.59 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)