Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.643/1.643, allocations: 287.5 MB / 302.6 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 178.8 kB / 371.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 95.72 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004119, allocations: 14.17 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.242, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001312/0.2434, allocations: 1.037 MB / 0.9797 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6659/0.9094, allocations: 134.5 MB / 1.111 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.9095, allocations: 0 / 1.111 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 5.645e-05/0.9095, allocations: 2.062 kB / 1.111 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.9096, allocations: 18.88 kB / 1.111 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.9104, allocations: 219.9 kB / 1.111 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.9106, allocations: 79.2 kB / 1.111 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.9106, allocations: 6.906 kB / 1.111 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.9107, allocations: 32 kB / 1.111 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.9108, allocations: 33.14 kB / 1.111 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.9108, allocations: 2.469 kB / 1.111 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.9115, allocations: 251.3 kB / 1.112 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.9116, allocations: 19.3 kB / 1.112 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.9117, allocations: 35.98 kB / 1.112 GB, free: 17.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.9119, allocations: 104.1 kB / 1.112 GB, free: 17.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9119, allocations: 1.125 kB / 1.112 GB, free: 17.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.912, allocations: 4 kB / 1.112 GB, free: 17.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.912, allocations: 0 / 1.112 GB, free: 17.92 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004267/0.9124, allocations: 369.9 kB / 1.112 GB, free: 17.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.9124, allocations: 10.44 kB / 1.112 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.9128, allocations: 35.28 kB / 1.112 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.913, allocations: 167.1 kB / 1.112 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.913, allocations: 9.688 kB / 1.112 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.913, allocations: 17.61 kB / 1.112 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.9132, allocations: 75.23 kB / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9132, allocations: 0 / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.9133, allocations: 4.5 kB / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.9133, allocations: 1.125 kB / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.9134, allocations: 49.91 kB / 1.112 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.9136, allocations: 181.2 kB / 1.113 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.9138, allocations: 103.7 kB / 1.113 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.9138, allocations: 30.53 kB / 1.113 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.9141, allocations: 173.2 kB / 1.113 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.9141, allocations: 36.12 kB / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.9141, allocations: 0 / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00132/0.9155, allocations: 0.5445 MB / 1.113 GB, free: 16.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.9155, allocations: 53.72 kB / 1.114 GB, free: 16.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.9156, allocations: 98.41 kB / 1.114 GB, free: 16.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.9156, allocations: 29.2 kB / 1.114 GB, free: 16.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.9156, allocations: 88.48 kB / 1.114 GB, free: 16.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.9157, allocations: 67.78 kB / 1.114 GB, free: 16.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.9157, allocations: 1.859 kB / 1.114 GB, free: 16.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.9158, allocations: 325.5 kB / 1.114 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.9159, allocations: 33.69 kB / 1.114 GB, free: 15.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.916, allocations: 67.53 kB / 1.114 GB, free: 15.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.9161, allocations: 123.8 kB / 1.114 GB, free: 15.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.9161, allocations: 0 / 1.114 GB, free: 15.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002328/0.9164, allocations: 151.7 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.9164, allocations: 14.59 kB / 1.115 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.9164, allocations: 0 / 1.115 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.9164, allocations: 2.719 kB / 1.115 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.9166, allocations: 38.38 kB / 1.115 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.9166, allocations: 2.859 kB / 1.115 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.9167, allocations: 9.125 kB / 1.115 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.9167, allocations: 8.531 kB / 1.115 GB, free: 15.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.421e-05/0.9168, allocations: 127.9 kB / 1.115 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.9168, allocations: 12.09 kB / 1.115 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.9169, allocations: 17.28 kB / 1.115 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.9169, allocations: 4.688 kB / 1.115 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.9169, allocations: 3.938 kB / 1.115 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9169, allocations: 5.25 kB / 1.115 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.9171, allocations: 189.3 kB / 1.115 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9171, allocations: 0 / 1.115 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.9173, allocations: 45.16 kB / 1.115 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9173, allocations: 1.156 kB / 1.115 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.9173, allocations: 5.844 kB / 1.115 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9173, allocations: 0.9688 kB / 1.115 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9173, allocations: 0 / 1.115 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.9176, allocations: 209.4 kB / 1.115 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.9177, allocations: 93.84 kB / 1.115 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.9178, allocations: 2.594 kB / 1.115 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.9179, allocations: 13.83 kB / 1.115 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.9179, allocations: 13.06 kB / 1.115 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.918, allocations: 13.56 kB / 1.115 GB, free: 15.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.18e-05/0.918, allocations: 78.61 kB / 1.115 GB, free: 15.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.918, allocations: 0 / 1.115 GB, free: 15.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002143/0.9182, allocations: 28.62 kB / 1.115 GB, free: 15.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.9184, allocations: 108.3 kB / 1.115 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.9186, allocations: 105.5 kB / 1.116 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9186, allocations: 0 / 1.116 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.9187, allocations: 53.41 kB / 1.116 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.9189, allocations: 12.73 kB / 1.116 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008063/0.9198, allocations: 0.6253 MB / 1.116 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.92, allocations: 0.7005 MB / 1.117 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.9201, allocations: 22.69 kB / 1.117 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.9202, allocations: 15.97 kB / 1.117 GB, free: 13.97 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9202, allocations: 3.938 kB / 1.117 GB, free: 13.96 MB / 0.698 GB Notification: Performance of Templates: time 0.003567/0.9238, allocations: 1.025 MB / 1.118 GB, free: 13.87 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)