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.009603/0.009603, allocations: 97.62 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.001973/0.001973, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.601/1.601, allocations: 205.1 MB / 222.6 MB, free: 4.547 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.6971/0.6971, allocations: 95.47 MB / 365.4 MB, free: 9.789 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.001493/0.001493, allocations: 76.45 kB / 0.5036 GB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1813, allocations: 69.08 MB / 0.5711 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck): time 0.002722/0.1841, allocations: 1.253 MB / 0.5723 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6344/0.8185, allocations: 155 MB / 0.7236 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.8187, allocations: 3.938 kB / 0.7236 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.8187, allocations: 7.922 kB / 0.7236 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.8188, allocations: 3.984 kB / 0.7236 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.8192, allocations: 87.33 kB / 0.7237 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.8193, allocations: 35.91 kB / 0.7238 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.8194, allocations: 4 kB / 0.7238 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.248e-05/0.8194, allocations: 11.98 kB / 0.7238 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.8195, allocations: 15.92 kB / 0.7238 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.8195, allocations: 4 kB / 0.7238 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.8198, allocations: 63.91 kB / 0.7238 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.8198, allocations: 3.984 kB / 0.7239 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.8198, allocations: 19.92 kB / 0.7239 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.82, allocations: 62.22 kB / 0.7239 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.82, allocations: 3.844 kB / 0.7239 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.406e-06/0.82, allocations: 0 / 0.7239 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.82, allocations: 7.938 kB / 0.7239 GB, free: 1.977 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.0004393/0.8205, allocations: 355 kB / 0.7243 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.8205, allocations: 11.98 kB / 0.7243 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.8206, allocations: 8.5 kB / 0.7243 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.8207, allocations: 159.1 kB / 0.7245 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.8207, allocations: 0 / 0.7245 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.8208, allocations: 4 kB / 0.7245 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.821, allocations: 72.25 kB / 0.7245 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.821, allocations: 0.875 kB / 0.7245 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.821, allocations: 7.938 kB / 0.7245 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.821, allocations: 0 / 0.7245 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.821, allocations: 11.94 kB / 0.7245 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.8213, allocations: 179.4 kB / 0.7247 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.206e-05/0.8214, allocations: 67.86 kB / 0.7248 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.8214, allocations: 26.62 kB / 0.7248 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.8217, allocations: 251.2 kB / 0.725 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.8218, allocations: 38.56 kB / 0.7251 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.8218, allocations: 3.938 kB / 0.7251 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.001023/0.8228, allocations: 0.6799 MB / 0.7257 GB, free: 15.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.8229, allocations: 106.8 kB / 0.7258 GB, free: 15.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.823, allocations: 93.84 kB / 0.7259 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.823, allocations: 29.7 kB / 0.726 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.823, allocations: 84.14 kB / 0.726 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.8231, allocations: 35.69 kB / 0.7261 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.8231, allocations: 25.72 kB / 0.7261 GB, free: 15.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8233, allocations: 319 kB / 0.7264 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.8233, allocations: 15.94 kB / 0.7264 GB, free: 14.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.8234, allocations: 54.27 kB / 0.7265 GB, free: 14.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.8235, allocations: 77.08 kB / 0.7266 GB, free: 14.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8235, allocations: 4 kB / 0.7266 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001416/0.8237, allocations: 89.52 kB / 0.7266 GB, free: 14.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.8237, allocations: 9.125 kB / 0.7266 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8237, allocations: 12.06 kB / 0.7267 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.8237, allocations: 4 kB / 0.7267 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.8238, allocations: 27.92 kB / 0.7267 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8239, allocations: 4 kB / 0.7267 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.8239, allocations: 0 / 0.7267 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.8239, allocations: 11.86 kB / 0.7267 GB, free: 14.65 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 8.256e-05/0.824, allocations: 113.8 kB / 0.7268 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.824, allocations: 6.719 kB / 0.7268 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.8242, allocations: 107.7 kB / 0.7269 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8243, allocations: 0 / 0.7269 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8243, allocations: 4 kB / 0.7269 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.8243, allocations: 3.984 kB / 0.7269 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.8244, allocations: 165.7 kB / 0.7271 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8244, allocations: 0 / 0.7271 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.8246, allocations: 23.92 kB / 0.7271 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8246, allocations: 4 kB / 0.7271 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.8246, allocations: 3.938 kB / 0.7271 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8246, allocations: 4 kB / 0.7271 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8246, allocations: 4 kB / 0.7271 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.8248, allocations: 126.7 kB / 0.7272 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.8249, allocations: 89.14 kB / 0.7273 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.8249, allocations: 11.94 kB / 0.7273 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.825, allocations: 0 / 0.7273 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.825, allocations: 15.92 kB / 0.7274 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.825, allocations: 4 kB / 0.7274 GB, free: 13.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.8251, allocations: 75.28 kB / 0.7274 GB, free: 13.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8251, allocations: 0 / 0.7274 GB, free: 13.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002579/0.8253, allocations: 35.88 kB / 0.7275 GB, free: 13.77 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.0001958/0.8255, allocations: 131.2 kB / 0.7276 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.8257, allocations: 56.05 kB / 0.7276 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8257, allocations: 0 / 0.7276 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.8257, allocations: 23.98 kB / 0.7277 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.8259, allocations: 4 kB / 0.7277 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.8265, allocations: 333.4 kB / 0.728 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.8268, allocations: 0.6807 MB / 0.7287 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.8268, allocations: 20.69 kB / 0.7287 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.8268, allocations: 11.44 kB / 0.7287 GB, free: 12.46 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.8268, allocations: 0 / 0.7287 GB, free: 12.46 MB / 0.545 GB Notification: Performance of Templates: time 0.003612/0.8305, allocations: 1.001 MB / 0.7297 GB, free: 11.46 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)