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.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002448/0.002448, allocations: 192.6 kB / 16.14 MB, free: 6.688 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.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.08 kB / 0.9113 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.429, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.042/1.471, allocations: 190.4 MB / 1.253 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007026/1.478, allocations: 4.067 MB / 1.257 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/1.479, allocations: 16.16 kB / 1.257 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/1.48, allocations: 398.2 kB / 1.258 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004523/1.485, allocations: 1.443 MB / 1.259 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004249/1.489, allocations: 1.244 MB / 1.26 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003943/1.493, allocations: 2.35 MB / 1.263 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/1.495, allocations: 0.8829 MB / 1.264 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/1.497, allocations: 0.8578 MB / 1.264 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/1.498, allocations: 0.8823 MB / 1.265 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/1.498, allocations: 77.97 kB / 1.265 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003952/1.502, allocations: 1.567 MB / 1.267 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000534/1.503, allocations: 339.3 kB / 1.267 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007737/1.504, allocations: 0.4904 MB / 1.268 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004602/1.508, allocations: 1.711 MB / 1.269 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/1.508, allocations: 0.7031 kB / 1.269 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/1.508, allocations: 0 / 1.269 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.064e-05/1.508, allocations: 0 / 1.269 GB, free: 5.195 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.004581/1.513, allocations: 1.452 MB / 1.271 GB, free: 20.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.513, allocations: 8.688 kB / 1.271 GB, free: 20.47 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/1.515, allocations: 236.1 kB / 1.271 GB, free: 20.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.516, allocations: 0.586 MB / 1.272 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/1.516, allocations: 40.91 kB / 1.272 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/1.516, allocations: 47.78 kB / 1.272 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/1.518, allocations: 0.9738 MB / 1.273 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.519, allocations: 5.219 kB / 1.273 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/1.519, allocations: 20.78 kB / 1.273 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/1.519, allocations: 34.06 kB / 1.273 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/1.521, allocations: 0.9401 MB / 1.274 GB, free: 19.91 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.006717/1.527, allocations: 4.259 MB / 1.278 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/1.529, allocations: 0.597 MB / 1.278 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.53, allocations: 0.5172 MB / 1.279 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.531, allocations: 0.8782 MB / 1.28 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.531, allocations: 37.62 kB / 1.28 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001969/1.533, allocations: 440.9 kB / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 5.741e-06/1.533, allocations: 0 / 1.28 GB, free: 16.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01918/1.552, allocations: 3.837 MB / 1.284 GB, free: 16.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/1.552, allocations: 62.61 kB / 1.284 GB, free: 16.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/1.554, allocations: 0.7106 MB / 1.285 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/1.554, allocations: 34.23 kB / 1.285 GB, free: 15.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/1.554, allocations: 327.3 kB / 1.285 GB, free: 15.76 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/1.554, allocations: 173.8 kB / 1.285 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/1.555, allocations: 153.8 kB / 1.285 GB, free: 15.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.555, allocations: 323.1 kB / 1.286 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/1.555, allocations: 397.1 kB / 1.286 GB, free: 15.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/1.556, allocations: 487.8 kB / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/1.558, allocations: 0.9163 MB / 1.287 GB, free: 15.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.558, allocations: 1.156 kB / 1.287 GB, free: 15.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01192/1.57, allocations: 2.564 MB / 1.29 GB, free: 14.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/1.57, allocations: 5.375 kB / 1.29 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.57, allocations: 2.406 kB / 1.29 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/1.58, allocations: 1.733 MB / 1.292 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/1.581, allocations: 93.92 kB / 1.292 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/1.595, allocations: 6.66 MB / 1.298 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.596, allocations: 29.36 kB / 1.298 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.596, allocations: 50.36 kB / 1.298 GB, free: 12.21 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.0005741/1.597, allocations: 208.8 kB / 1.298 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/1.597, allocations: 86.14 kB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005412/1.602, allocations: 1.732 MB / 1.3 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.602, allocations: 7.969 kB / 1.3 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.602, allocations: 4.859 kB / 1.3 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.602, allocations: 8.516 kB / 1.3 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006456/1.609, allocations: 2.539 MB / 1.303 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.609, allocations: 3.188 kB / 1.303 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/1.61, allocations: 94.83 kB / 1.303 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003528/1.613, allocations: 0.8005 MB / 1.304 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-05/1.613, allocations: 17.7 kB / 1.304 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006426/1.62, allocations: 4.473 MB / 1.308 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.62, allocations: 4 kB / 1.308 GB, free: 8.859 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00544/1.625, allocations: 2.154 MB / 1.31 GB, free: 8.559 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/1.626, allocations: 242.5 kB / 1.31 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.626, allocations: 11.97 kB / 1.31 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/1.627, allocations: 35.78 kB / 1.31 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/1.627, allocations: 55.92 kB / 1.31 GB, free: 8.398 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/1.627, allocations: 21.44 kB / 1.31 GB, free: 8.398 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007309/1.628, allocations: 0.4994 MB / 1.311 GB, free: 8.305 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.483e-06/1.628, allocations: 0 / 1.311 GB, free: 8.305 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001536/1.629, allocations: 281.8 kB / 1.311 GB, free: 8.293 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.0006429/1.63, allocations: 225.5 kB / 1.311 GB, free: 8.184 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003572/1.633, allocations: 1.463 MB / 1.313 GB, free: 7.887 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.633, allocations: 0 / 1.313 GB, free: 7.887 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/1.635, allocations: 0.9156 MB / 1.314 GB, free: 7.617 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/1.638, allocations: 431.9 kB / 1.314 GB, free: 7.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/1.641, allocations: 1.972 MB / 1.316 GB, free: 6.594 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/1.641, allocations: 0.9817 MB / 1.317 GB, free: 5.883 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007468/1.642, allocations: 163.1 kB / 1.317 GB, free: 5.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.642, allocations: 68.41 kB / 1.317 GB, free: 5.832 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/1.642, allocations: 4 kB / 1.317 GB, free: 5.828 MB / 1.014 GB Notification: Performance of Templates: time 0.04155/1.684, allocations: 21.67 MB / 1.338 GB, free: 13.83 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)