Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001529, allocations: 62.62 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4297, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.988/1.418, allocations: 192.6 MB / 1.256 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007297/1.425, allocations: 4.019 MB / 1.26 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/1.427, allocations: 21.22 kB / 1.26 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/1.428, allocations: 476.7 kB / 1.261 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005037/1.433, allocations: 1.525 MB / 1.262 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004667/1.438, allocations: 1.356 MB / 1.263 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00328/1.441, allocations: 1.63 MB / 1.265 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/1.443, allocations: 0.9522 MB / 1.266 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/1.445, allocations: 0.9199 MB / 1.267 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/1.447, allocations: 0.8473 MB / 1.268 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/1.447, allocations: 95.06 kB / 1.268 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/1.451, allocations: 1.304 MB / 1.269 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000625/1.452, allocations: 358.1 kB / 1.269 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/1.453, allocations: 0.5203 MB / 1.27 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004406/1.457, allocations: 1.615 MB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/1.457, allocations: 3.859 kB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.615e-06/1.457, allocations: 0 / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.404e-05/1.457, allocations: 0.9688 kB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.004362/1.462, allocations: 1.446 MB / 1.273 GB, free: 20.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.462, allocations: 10.33 kB / 1.273 GB, free: 20.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/1.464, allocations: 235 kB / 1.273 GB, free: 20.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/1.465, allocations: 0.5931 MB / 1.274 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/1.465, allocations: 37.34 kB / 1.274 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.465, allocations: 51.53 kB / 1.274 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/1.467, allocations: 0.9612 MB / 1.275 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/1.467, allocations: 3.062 kB / 1.275 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/1.467, allocations: 25.44 kB / 1.275 GB, free: 20.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/1.467, allocations: 34.3 kB / 1.275 GB, free: 20.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/1.469, allocations: 0.9404 MB / 1.276 GB, free: 20.19 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00691/1.476, allocations: 4.262 MB / 1.28 GB, free: 17.92 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/1.477, allocations: 0.5956 MB / 1.28 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/1.478, allocations: 0.5141 MB / 1.281 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.479, allocations: 0.8849 MB / 1.282 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.48, allocations: 37.86 kB / 1.282 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00185/1.481, allocations: 418.5 kB / 1.282 GB, free: 16.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 7.564e-06/1.481, allocations: 1 kB / 1.282 GB, free: 16.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01925/1.501, allocations: 3.838 MB / 1.286 GB, free: 16.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/1.501, allocations: 61.53 kB / 1.286 GB, free: 16.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/1.502, allocations: 0.7041 MB / 1.287 GB, free: 16.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002496/1.503, allocations: 39.33 kB / 1.287 GB, free: 16.35 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/1.503, allocations: 320.8 kB / 1.287 GB, free: 16.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/1.503, allocations: 178.1 kB / 1.287 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/1.504, allocations: 149.1 kB / 1.287 GB, free: 16.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.504, allocations: 327.2 kB / 1.288 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/1.505, allocations: 395.3 kB / 1.288 GB, free: 15.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/1.506, allocations: 485.2 kB / 1.289 GB, free: 15.72 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/1.507, allocations: 0.9247 MB / 1.289 GB, free: 15.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.507, allocations: 0 / 1.289 GB, free: 15.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01174/1.519, allocations: 2.563 MB / 1.292 GB, free: 15.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.519, allocations: 9.75 kB / 1.292 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.519, allocations: 1.5 kB / 1.292 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009628/1.529, allocations: 1.735 MB / 1.294 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/1.529, allocations: 90.78 kB / 1.294 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/1.543, allocations: 7.159 MB / 1.301 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/1.544, allocations: 22.11 kB / 1.301 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/1.544, allocations: 45.5 kB / 1.301 GB, free: 12.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005797/1.544, allocations: 213.2 kB / 1.301 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/1.545, allocations: 83.56 kB / 1.301 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005456/1.55, allocations: 1.739 MB / 1.303 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/1.55, allocations: 7.969 kB / 1.303 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.55, allocations: 2.75 kB / 1.303 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.55, allocations: 4.047 kB / 1.303 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/1.557, allocations: 2.537 MB / 1.305 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.557, allocations: 1.125 kB / 1.305 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/1.557, allocations: 89.42 kB / 1.305 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003529/1.561, allocations: 0.8022 MB / 1.306 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.509e-05/1.561, allocations: 13.47 kB / 1.306 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007024/1.568, allocations: 4.868 MB / 1.311 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.568, allocations: 10.53 kB / 1.311 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005763/1.574, allocations: 2.142 MB / 1.313 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/1.575, allocations: 233.7 kB / 1.313 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/1.575, allocations: 12.56 kB / 1.313 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/1.576, allocations: 22.62 kB / 1.313 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/1.576, allocations: 56.14 kB / 1.313 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.547e-05/1.576, allocations: 20.84 kB / 1.313 GB, free: 8.508 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000991/1.577, allocations: 0.5024 MB / 1.314 GB, free: 8.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.91e-07/1.577, allocations: 0 / 1.314 GB, free: 8.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00163/1.579, allocations: 284.4 kB / 1.314 GB, free: 8.395 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006549/1.579, allocations: 229.1 kB / 1.314 GB, free: 8.273 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004022/1.583, allocations: 1.512 MB / 1.316 GB, free: 7.969 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.583, allocations: 2.5 kB / 1.316 GB, free: 7.969 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/1.585, allocations: 0.9166 MB / 1.317 GB, free: 7.699 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.588, allocations: 467.2 kB / 1.317 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/1.591, allocations: 1.733 MB / 1.319 GB, free: 6.828 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/1.592, allocations: 0.9798 MB / 1.32 GB, free: 6.121 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008902/1.593, allocations: 164.6 kB / 1.32 GB, free: 6.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/1.593, allocations: 69.28 kB / 1.32 GB, free: 6.066 MB / 1.014 GB Notification: Performance of SimCode: time 1.453e-06/1.593, allocations: 0 / 1.32 GB, free: 6.066 MB / 1.014 GB Notification: Performance of Templates: time 0.0415/1.635, allocations: 22.65 MB / 1.342 GB, free: 14.05 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)