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.001051/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001405/0.001405, allocations: 201 kB / 16.14 MB, free: 6.77 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.626/1.626, allocations: 205.1 MB / 222 MB, free: 4.77 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.6216/0.6216, allocations: 95.46 MB / 364.8 MB, free: 10.11 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.001478/0.001478, allocations: 63.92 kB / 444.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3798, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck): time 0.002208/0.382, allocations: 1.326 MB / 0.503 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.6197/1.002, allocations: 157.8 MB / 0.6571 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/1.002, allocations: 3.938 kB / 0.6571 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/1.002, allocations: 2.531 kB / 0.6571 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/1.002, allocations: 9.734 kB / 0.6571 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/1.002, allocations: 72.78 kB / 0.6572 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/1.002, allocations: 33.97 kB / 0.6572 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/1.002, allocations: 0 / 0.6572 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/1.003, allocations: 17 kB / 0.6573 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/1.003, allocations: 13.47 kB / 0.6573 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/1.003, allocations: 5.125 kB / 0.6573 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/1.003, allocations: 60.08 kB / 0.6573 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/1.003, allocations: 3.547 kB / 0.6573 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/1.003, allocations: 16.7 kB / 0.6574 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/1.003, allocations: 62.56 kB / 0.6574 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.003, allocations: 0 / 0.6574 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.003, allocations: 4 kB / 0.6574 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.266e-06/1.003, allocations: 0 / 0.6574 GB, free: 12.7 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.0003967/1.004, allocations: 350.7 kB / 0.6578 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.004, allocations: 14.05 kB / 0.6578 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/1.004, allocations: 6.156 kB / 0.6578 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1.004, allocations: 159.1 kB / 0.6579 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/1.004, allocations: 3.531 kB / 0.6579 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/1.004, allocations: 11.62 kB / 0.6579 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/1.004, allocations: 71.08 kB / 0.658 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.004, allocations: 2.562 kB / 0.658 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.004, allocations: 0 / 0.658 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.004, allocations: 1.203 kB / 0.658 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/1.004, allocations: 12.11 kB / 0.658 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/1.004, allocations: 181.7 kB / 0.6582 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/1.004, allocations: 77.16 kB / 0.6583 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/1.004, allocations: 20.27 kB / 0.6583 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/1.005, allocations: 251.4 kB / 0.6585 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.005, allocations: 36.62 kB / 0.6586 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/1.005, allocations: 3.984 kB / 0.6586 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001058/1.006, allocations: 0.6779 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.006, allocations: 105.3 kB / 0.6593 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/1.006, allocations: 98.14 kB / 0.6594 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/1.006, allocations: 26.91 kB / 0.6594 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/1.006, allocations: 83.83 kB / 0.6595 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/1.006, allocations: 34.08 kB / 0.6596 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/1.006, allocations: 35.3 kB / 0.6596 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.006, allocations: 317.2 kB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/1.006, allocations: 13.05 kB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/1.006, allocations: 56.78 kB / 0.66 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/1.007, allocations: 84.69 kB / 0.66 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/1.007, allocations: 0 / 0.66 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001398/1.007, allocations: 93.48 kB / 0.6601 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.007, allocations: 12.28 kB / 0.6601 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.007, allocations: 0 / 0.6601 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.007, allocations: 2.188 kB / 0.6601 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/1.007, allocations: 24.06 kB / 0.6602 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.007, allocations: 3.734 kB / 0.6602 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/1.007, allocations: 3.031 kB / 0.6602 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/1.007, allocations: 2.469 kB / 0.6602 GB, free: 9.891 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.483e-05/1.007, allocations: 122.2 kB / 0.6603 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/1.007, allocations: 12.45 kB / 0.6603 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/1.007, allocations: 99.67 kB / 0.6604 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.007, allocations: 2.812 kB / 0.6604 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.007, allocations: 0 / 0.6604 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/1.007, allocations: 2.062 kB / 0.6604 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/1.007, allocations: 168.6 kB / 0.6606 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.007, allocations: 2.25 kB / 0.6606 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/1.008, allocations: 25.53 kB / 0.6606 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.008, allocations: 7.375 kB / 0.6606 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/1.008, allocations: 0 / 0.6606 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.008, allocations: 2.375 kB / 0.6606 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.008, allocations: 0 / 0.6606 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/1.008, allocations: 128.7 kB / 0.6607 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/1.008, allocations: 92.88 kB / 0.6608 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/1.008, allocations: 3.125 kB / 0.6608 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/1.008, allocations: 10.59 kB / 0.6608 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/1.008, allocations: 6.844 kB / 0.6608 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/1.008, allocations: 10.11 kB / 0.6608 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.241e-05/1.008, allocations: 76.34 kB / 0.6609 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.008, allocations: 0.5 kB / 0.6609 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002691/1.008, allocations: 30.81 kB / 0.6609 GB, free: 9.25 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.0002232/1.009, allocations: 134.1 kB / 0.6611 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001471/1.009, allocations: 55.94 kB / 0.6611 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.009, allocations: 4.438 kB / 0.6611 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/1.009, allocations: 25.44 kB / 0.6612 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/1.009, allocations: 11.31 kB / 0.6612 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/1.01, allocations: 327 kB / 0.6615 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/1.01, allocations: 0.6837 MB / 0.6621 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.528e-05/1.01, allocations: 16.05 kB / 0.6622 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/1.01, allocations: 11.88 kB / 0.6622 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/1.01, allocations: 0.5 kB / 0.6622 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of Templates: time 0.003497/1.014, allocations: 0.9865 MB / 0.6631 GB, free: 8.008 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)