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.005585/0.005585, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001152/0.001152, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.748/1.748, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.6509/0.6509, allocations: 95.48 MB / 365.4 MB, free: 9.777 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.001736/0.001736, allocations: 71.91 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1717, allocations: 69.08 MB / 0.5711 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck): time 0.002963/0.1747, allocations: 1.276 MB / 0.5723 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.7269/0.9016, allocations: 160 MB / 0.7285 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.9017, allocations: 0 / 0.7285 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.9018, allocations: 3.938 kB / 0.7285 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.9018, allocations: 0 / 0.7285 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.9023, allocations: 99.55 kB / 0.7286 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.382e-05/0.9024, allocations: 23.92 kB / 0.7286 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.9024, allocations: 4 kB / 0.7286 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.9025, allocations: 15.92 kB / 0.7286 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.9026, allocations: 16.53 kB / 0.7287 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.9026, allocations: 0 / 0.7287 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.9028, allocations: 63.91 kB / 0.7287 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.9029, allocations: 4 kB / 0.7287 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.9029, allocations: 15.92 kB / 0.7287 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.9031, allocations: 70.77 kB / 0.7288 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9031, allocations: 0 / 0.7288 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9031, allocations: 4 kB / 0.7288 GB, free: 12.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.9031, allocations: 0 / 0.7288 GB, free: 12.95 MB / 0.545 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.0004645/0.9036, allocations: 346.8 kB / 0.7291 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.9036, allocations: 11.98 kB / 0.7291 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.9037, allocations: 4 kB / 0.7292 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.9038, allocations: 170.9 kB / 0.7293 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.9039, allocations: 4 kB / 0.7293 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.9039, allocations: 7.938 kB / 0.7293 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.9041, allocations: 72.2 kB / 0.7294 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9041, allocations: 0 / 0.7294 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.9041, allocations: 0 / 0.7294 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.9041, allocations: 0 / 0.7294 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.034e-05/0.9042, allocations: 19.92 kB / 0.7294 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.9044, allocations: 167.4 kB / 0.7296 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.9045, allocations: 75.84 kB / 0.7296 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.9046, allocations: 22.64 kB / 0.7297 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.9049, allocations: 251.2 kB / 0.7299 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.9049, allocations: 50.48 kB / 0.73 GB, free: 11.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.905, allocations: 0 / 0.73 GB, free: 11.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.001037/0.906, allocations: 0.676 MB / 0.7306 GB, free: 10.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.9061, allocations: 102.8 kB / 0.7307 GB, free: 10.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.9061, allocations: 89.86 kB / 0.7308 GB, free: 10.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.9062, allocations: 33.7 kB / 0.7308 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.9062, allocations: 80.14 kB / 0.7309 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.9063, allocations: 35.53 kB / 0.7309 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.9063, allocations: 33.86 kB / 0.731 GB, free: 10.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9064, allocations: 310.8 kB / 0.7313 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.9065, allocations: 15.98 kB / 0.7313 GB, free: 9.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.9065, allocations: 57.08 kB / 0.7313 GB, free: 9.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.9067, allocations: 81.03 kB / 0.7314 GB, free: 9.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9067, allocations: 0.875 kB / 0.7314 GB, free: 9.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001485/0.9068, allocations: 97.55 kB / 0.7315 GB, free: 9.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.9069, allocations: 8.188 kB / 0.7315 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.9069, allocations: 4 kB / 0.7315 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.9069, allocations: 0 / 0.7315 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.907, allocations: 23.92 kB / 0.7315 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.907, allocations: 7.938 kB / 0.7316 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.9071, allocations: 0 / 0.7316 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.9071, allocations: 7.938 kB / 0.7316 GB, free: 9.633 MB / 0.545 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.235e-05/0.9072, allocations: 121.7 kB / 0.7317 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.9072, allocations: 11.84 kB / 0.7317 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.9074, allocations: 104.3 kB / 0.7318 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.9074, allocations: 4 kB / 0.7318 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9074, allocations: 0 / 0.7318 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9074, allocations: 0 / 0.7318 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.9076, allocations: 169.6 kB / 0.732 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.9076, allocations: 0 / 0.732 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.767e-05/0.9077, allocations: 23.98 kB / 0.732 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9077, allocations: 0 / 0.732 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.9077, allocations: 0 / 0.732 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.9077, allocations: 8 kB / 0.732 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9077, allocations: 0 / 0.732 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.908, allocations: 134.9 kB / 0.7321 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.908, allocations: 81.14 kB / 0.7322 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.9081, allocations: 12.08 kB / 0.7322 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.9081, allocations: 8 kB / 0.7322 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.9082, allocations: 7.922 kB / 0.7322 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.9082, allocations: 7.984 kB / 0.7322 GB, free: 8.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.547e-05/0.9082, allocations: 83.28 kB / 0.7323 GB, free: 8.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9082, allocations: 0 / 0.7323 GB, free: 8.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002296/0.9085, allocations: 24 kB / 0.7323 GB, free: 8.746 MB / 0.545 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.0002015/0.9087, allocations: 135.2 kB / 0.7325 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.9088, allocations: 63.88 kB / 0.7325 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9088, allocations: 3.938 kB / 0.7325 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.9089, allocations: 23.98 kB / 0.7325 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.9091, allocations: 4 kB / 0.7325 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.9096, allocations: 316.5 kB / 0.7329 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.9099, allocations: 0.6846 MB / 0.7335 GB, free: 7.465 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.032e-05/0.91, allocations: 14.38 kB / 0.7335 GB, free: 7.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.91, allocations: 19.42 kB / 0.7336 GB, free: 7.438 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.91, allocations: 0 / 0.7336 GB, free: 7.438 MB / 0.545 GB Notification: Performance of Templates: time 0.003716/0.9137, allocations: 1.007 MB / 0.7345 GB, free: 6.445 MB / 0.545 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)