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.001334/0.001333, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001361/0.001361, allocations: 193 kB / 16.13 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.481/1.481, allocations: 205.1 MB / 222 MB, free: 4.957 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.5848/0.5848, allocations: 95.48 MB / 364.8 MB, free: 10.17 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.001388/0.001388, allocations: 71.91 kB / 444.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3494, allocations: 69.07 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck): time 0.002182/0.3517, allocations: 1.318 MB / 0.503 GB, free: 16.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.6122/0.9638, allocations: 152.8 MB / 0.6522 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.964, allocations: 0 / 0.6522 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.964, allocations: 0 / 0.6522 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.9641, allocations: 11.94 kB / 0.6522 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.9645, allocations: 73.75 kB / 0.6523 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.9646, allocations: 33.31 kB / 0.6523 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.9647, allocations: 2.5 kB / 0.6523 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.267e-05/0.9647, allocations: 11.73 kB / 0.6523 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.9648, allocations: 17.89 kB / 0.6524 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.9648, allocations: 0 / 0.6524 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.965, allocations: 63.52 kB / 0.6524 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.9651, allocations: 9.734 kB / 0.6524 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.9651, allocations: 14.25 kB / 0.6525 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.9653, allocations: 61.98 kB / 0.6525 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9653, allocations: 0 / 0.6525 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.52e-07/0.9653, allocations: 2.188 kB / 0.6525 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.9653, allocations: 0 / 0.6525 GB, free: 13.02 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.0004224/0.9658, allocations: 348.2 kB / 0.6528 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.9658, allocations: 15.52 kB / 0.6529 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.9659, allocations: 6.25 kB / 0.6529 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.966, allocations: 173.9 kB / 0.653 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.966, allocations: 4.781 kB / 0.653 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.966, allocations: 2.188 kB / 0.653 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.9662, allocations: 67.2 kB / 0.6531 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.9662, allocations: 0 / 0.6531 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.9663, allocations: 4.312 kB / 0.6531 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.9663, allocations: 1 kB / 0.6531 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.664e-05/0.9663, allocations: 16.31 kB / 0.6531 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.9665, allocations: 182.5 kB / 0.6533 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.9666, allocations: 76.44 kB / 0.6534 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.9667, allocations: 29.41 kB / 0.6534 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.967, allocations: 244.6 kB / 0.6536 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.967, allocations: 40.97 kB / 0.6537 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.967, allocations: 0 / 0.6537 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0009857/0.968, allocations: 0.6741 MB / 0.6543 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.9681, allocations: 108.5 kB / 0.6544 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/0.9682, allocations: 97.64 kB / 0.6545 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.9682, allocations: 31.08 kB / 0.6546 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.9682, allocations: 80.7 kB / 0.6546 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.9683, allocations: 38.95 kB / 0.6547 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.9683, allocations: 27.81 kB / 0.6547 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.9684, allocations: 315.6 kB / 0.655 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.9685, allocations: 13.53 kB / 0.655 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.9686, allocations: 60.09 kB / 0.6551 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.9687, allocations: 75.66 kB / 0.6551 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.9687, allocations: 5.094 kB / 0.6551 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001631/0.9689, allocations: 92.8 kB / 0.6552 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9689, allocations: 7.625 kB / 0.6552 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.9689, allocations: 5.812 kB / 0.6552 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.9689, allocations: 3.594 kB / 0.6552 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.969, allocations: 20.64 kB / 0.6553 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.969, allocations: 5.719 kB / 0.6553 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.9691, allocations: 5.625 kB / 0.6553 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.9691, allocations: 8.25 kB / 0.6553 GB, free: 10.19 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.955e-05/0.9692, allocations: 112.6 kB / 0.6554 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.9692, allocations: 8.812 kB / 0.6554 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.9694, allocations: 113.3 kB / 0.6555 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.9694, allocations: 1.656 kB / 0.6555 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.9694, allocations: 1.344 kB / 0.6555 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9695, allocations: 7.156 kB / 0.6555 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.9696, allocations: 160.9 kB / 0.6557 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9696, allocations: 1 kB / 0.6557 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.9698, allocations: 20.06 kB / 0.6557 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.9698, allocations: 3.703 kB / 0.6557 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.9698, allocations: 6.25 kB / 0.6557 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.9698, allocations: 1 kB / 0.6557 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9698, allocations: 2.203 kB / 0.6557 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.97, allocations: 131.2 kB / 0.6558 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.9701, allocations: 92.75 kB / 0.6559 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.9701, allocations: 7.781 kB / 0.6559 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.9702, allocations: 6.656 kB / 0.6559 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.9703, allocations: 10.25 kB / 0.6559 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.9703, allocations: 9.5 kB / 0.656 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.9703, allocations: 83.66 kB / 0.656 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.423e-06/0.9703, allocations: 0 / 0.656 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002695/0.9706, allocations: 31.83 kB / 0.6561 GB, free: 9.543 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.0002071/0.9708, allocations: 123.3 kB / 0.6562 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.971, allocations: 47.53 kB / 0.6562 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.971, allocations: 0.625 kB / 0.6562 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.9711, allocations: 25.09 kB / 0.6562 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.9713, allocations: 12.31 kB / 0.6563 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.9719, allocations: 337.2 kB / 0.6566 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.9721, allocations: 0.684 MB / 0.6572 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.654e-05/0.9722, allocations: 14.8 kB / 0.6573 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.9722, allocations: 16.72 kB / 0.6573 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.9722, allocations: 0.6562 kB / 0.6573 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of Templates: time 0.003159/0.9754, allocations: 0.9723 MB / 0.6582 GB, free: 8.309 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.makefile (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)