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.006213/0.006213, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001349/0.001349, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.514/1.514, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.6625/0.6625, allocations: 95.48 MB / 365.4 MB, free: 9.75 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.00148/0.00148, allocations: 70.09 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1845, allocations: 69.09 MB / 0.5711 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck): time 0.002626/0.1872, allocations: 1.265 MB / 0.5723 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6205/0.8077, allocations: 155 MB / 0.7236 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.808, allocations: 0 / 0.7236 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.808, allocations: 0 / 0.7236 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.921e-05/0.8081, allocations: 3.938 kB / 0.7236 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.8088, allocations: 86.55 kB / 0.7237 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.8089, allocations: 31.92 kB / 0.7238 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.809, allocations: 4 kB / 0.7238 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.203e-05/0.8091, allocations: 19.83 kB / 0.7238 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.981e-05/0.8092, allocations: 19.91 kB / 0.7238 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.8092, allocations: 4 kB / 0.7238 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.8094, allocations: 59.28 kB / 0.7239 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.8095, allocations: 4 kB / 0.7239 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.8095, allocations: 18.55 kB / 0.7239 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.8098, allocations: 67.45 kB / 0.7239 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.8098, allocations: 0 / 0.7239 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.795e-06/0.8098, allocations: 0 / 0.7239 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.8098, allocations: 4 kB / 0.7239 GB, free: 1.957 MB / 0.5294 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.0005557/0.8104, allocations: 343.1 kB / 0.7243 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.8104, allocations: 11.98 kB / 0.7243 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.8105, allocations: 8.5 kB / 0.7243 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.8107, allocations: 174.8 kB / 0.7245 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.8107, allocations: 0 / 0.7245 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.8108, allocations: 8 kB / 0.7245 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.811, allocations: 68.27 kB / 0.7245 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.811, allocations: 0 / 0.7245 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.811, allocations: 4 kB / 0.7245 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.811, allocations: 0 / 0.7245 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.8111, allocations: 19.8 kB / 0.7246 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.8114, allocations: 171.4 kB / 0.7247 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.8115, allocations: 71.84 kB / 0.7248 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.8116, allocations: 30.62 kB / 0.7248 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/0.812, allocations: 243.3 kB / 0.725 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.8121, allocations: 38.5 kB / 0.7251 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.8121, allocations: 0 / 0.7251 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.001442/0.8135, allocations: 0.6799 MB / 0.7257 GB, free: 15.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.8136, allocations: 106.8 kB / 0.7259 GB, free: 15.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.8137, allocations: 93.86 kB / 0.7259 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.8138, allocations: 25.7 kB / 0.726 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.8138, allocations: 84.14 kB / 0.726 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.8139, allocations: 39.53 kB / 0.7261 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.8139, allocations: 25.7 kB / 0.7261 GB, free: 15.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8141, allocations: 319 kB / 0.7264 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.8141, allocations: 15.98 kB / 0.7264 GB, free: 14.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.8142, allocations: 53.08 kB / 0.7265 GB, free: 14.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.8143, allocations: 73.09 kB / 0.7265 GB, free: 14.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.8143, allocations: 4 kB / 0.7266 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001575/0.8145, allocations: 97.55 kB / 0.7266 GB, free: 14.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8145, allocations: 4 kB / 0.7266 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.8145, allocations: 10.19 kB / 0.7267 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.8146, allocations: 4 kB / 0.7267 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.8147, allocations: 19.98 kB / 0.7267 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.8147, allocations: 7.938 kB / 0.7267 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.8147, allocations: 4 kB / 0.7267 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.8147, allocations: 4.141 kB / 0.7267 GB, free: 14.64 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.721e-05/0.8148, allocations: 117.8 kB / 0.7268 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.8149, allocations: 11.89 kB / 0.7268 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.8151, allocations: 104 kB / 0.7269 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8151, allocations: 3.938 kB / 0.7269 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8151, allocations: 4 kB / 0.7269 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.8151, allocations: 0 / 0.7269 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.8153, allocations: 167.2 kB / 0.7271 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8153, allocations: 0 / 0.7271 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.8154, allocations: 19.98 kB / 0.7271 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8154, allocations: 4 kB / 0.7271 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.8154, allocations: 7.938 kB / 0.7271 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8154, allocations: 4 kB / 0.7271 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8154, allocations: 4 kB / 0.7271 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.8157, allocations: 123.4 kB / 0.7272 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.8157, allocations: 89.14 kB / 0.7273 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.8158, allocations: 11.92 kB / 0.7273 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.8158, allocations: 0 / 0.7273 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.8159, allocations: 19.73 kB / 0.7274 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.8159, allocations: 4.094 kB / 0.7274 GB, free: 13.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.8159, allocations: 83.16 kB / 0.7274 GB, free: 13.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8159, allocations: 0 / 0.7274 GB, free: 13.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002346/0.8162, allocations: 32 kB / 0.7275 GB, free: 13.75 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.0002097/0.8164, allocations: 131.2 kB / 0.7276 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.8165, allocations: 52.19 kB / 0.7276 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8165, allocations: 0 / 0.7276 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.8166, allocations: 27.92 kB / 0.7277 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.8168, allocations: 8.938 kB / 0.7277 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.8173, allocations: 320.5 kB / 0.728 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.8176, allocations: 0.6846 MB / 0.7287 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.339e-05/0.8177, allocations: 16.09 kB / 0.7287 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.8177, allocations: 15.42 kB / 0.7287 GB, free: 12.45 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.8177, allocations: 0 / 0.7287 GB, free: 12.45 MB / 0.545 GB Notification: Performance of Templates: time 0.003524/0.8212, allocations: 1.006 MB / 0.7297 GB, free: 11.45 MB / 0.545 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)