Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009136/0.0009133, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005959/0.005959, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004205, allocations: 14.84 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3513, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.8446/1.196, allocations: 187.9 MB / 1.258 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006375/1.202, allocations: 4.018 MB / 1.262 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009293/1.203, allocations: 19.81 kB / 1.262 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/1.205, allocations: 396.9 kB / 1.262 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00429/1.209, allocations: 1.442 MB / 1.263 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003811/1.213, allocations: 1.242 MB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003583/1.216, allocations: 2.348 MB / 1.267 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/1.218, allocations: 0.8661 MB / 1.268 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/1.219, allocations: 0.8572 MB / 1.269 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/1.221, allocations: 0.8676 MB / 1.269 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/1.221, allocations: 70.88 kB / 1.269 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/1.224, allocations: 1.563 MB / 1.271 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000456/1.225, allocations: 335.7 kB / 1.271 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009448/1.226, allocations: 0.5109 MB / 1.272 GB, free: 21.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003262/1.229, allocations: 1.682 MB / 1.273 GB, free: 21.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.229, allocations: 2.672 kB / 1.273 GB, free: 21.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.229, allocations: 0 / 1.273 GB, free: 21.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.763e-05/1.229, allocations: 0 / 1.273 GB, free: 21.8 MB / 1.014 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.002731/1.232, allocations: 1.178 MB / 1.275 GB, free: 21.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.232, allocations: 9 kB / 1.275 GB, free: 21.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/1.233, allocations: 247.4 kB / 1.275 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009371/1.234, allocations: 0.5849 MB / 1.275 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/1.234, allocations: 37.06 kB / 1.275 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/1.234, allocations: 49.12 kB / 1.275 GB, free: 20.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/1.236, allocations: 0.9723 MB / 1.276 GB, free: 20.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/1.236, allocations: 10.66 kB / 1.276 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-05/1.236, allocations: 22.06 kB / 1.276 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/1.236, allocations: 24.95 kB / 1.276 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/1.238, allocations: 0.9511 MB / 1.277 GB, free: 20.55 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.005644/1.244, allocations: 4.188 MB / 1.281 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/1.245, allocations: 0.5989 MB / 1.282 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/1.246, allocations: 0.5246 MB / 1.283 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.247, allocations: 0.8922 MB / 1.283 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/1.247, allocations: 38.44 kB / 1.283 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001545/1.249, allocations: 360.4 kB / 1.284 GB, free: 17.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 3.927e-06/1.249, allocations: 2.906 kB / 1.284 GB, free: 17.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01758/1.266, allocations: 3.693 MB / 1.287 GB, free: 16.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.266, allocations: 63.91 kB / 1.288 GB, free: 16.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.267, allocations: 0.7066 MB / 1.288 GB, free: 16.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/1.268, allocations: 38.81 kB / 1.288 GB, free: 16.58 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/1.268, allocations: 324.7 kB / 1.289 GB, free: 16.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/1.268, allocations: 175.2 kB / 1.289 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/1.268, allocations: 45.41 kB / 1.289 GB, free: 16.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.268, allocations: 328.1 kB / 1.289 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/1.269, allocations: 403 kB / 1.289 GB, free: 16.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/1.27, allocations: 486.9 kB / 1.29 GB, free: 15.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/1.271, allocations: 0.9342 MB / 1.291 GB, free: 15.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.271, allocations: 1.062 kB / 1.291 GB, free: 15.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01149/1.283, allocations: 2.483 MB / 1.293 GB, free: 15.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/1.283, allocations: 5.938 kB / 1.293 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.283, allocations: 1.906 kB / 1.293 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009474/1.292, allocations: 1.557 MB / 1.295 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/1.293, allocations: 90.75 kB / 1.295 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/1.305, allocations: 6.572 MB / 1.301 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.306, allocations: 28.73 kB / 1.301 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/1.306, allocations: 47.5 kB / 1.301 GB, free: 12.97 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.0006191/1.307, allocations: 216.2 kB / 1.302 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/1.307, allocations: 85.8 kB / 1.302 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/1.313, allocations: 1.674 MB / 1.303 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.313, allocations: 10.12 kB / 1.303 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.313, allocations: 4.25 kB / 1.303 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.313, allocations: 2.953 kB / 1.303 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006785/1.32, allocations: 2.474 MB / 1.306 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.32, allocations: 2.219 kB / 1.306 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/1.32, allocations: 95.33 kB / 1.306 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/1.323, allocations: 0.6637 MB / 1.306 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.552e-05/1.324, allocations: 15.61 kB / 1.306 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00637/1.33, allocations: 4.411 MB / 1.311 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.33, allocations: 6.25 kB / 1.311 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005142/1.335, allocations: 2.1 MB / 1.313 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006137/1.336, allocations: 235.4 kB / 1.313 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/1.336, allocations: 12.75 kB / 1.313 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008255/1.337, allocations: 35.3 kB / 1.313 GB, free: 9.242 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/1.337, allocations: 56.86 kB / 1.313 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/1.337, allocations: 19.78 kB / 1.313 GB, free: 9.238 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008333/1.338, allocations: 0.4967 MB / 1.314 GB, free: 9.145 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.338, allocations: 0 / 1.314 GB, free: 9.145 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001467/1.34, allocations: 292.5 kB / 1.314 GB, free: 9.125 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.0006786/1.34, allocations: 227.4 kB / 1.314 GB, free: 9.008 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003781/1.344, allocations: 1.421 MB / 1.316 GB, free: 8.711 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.344, allocations: 0 / 1.316 GB, free: 8.711 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.346, allocations: 0.8913 MB / 1.316 GB, free: 8.453 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/1.349, allocations: 437.4 kB / 1.317 GB, free: 8.418 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/1.352, allocations: 2.048 MB / 1.319 GB, free: 7.371 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/1.352, allocations: 0.9842 MB / 1.32 GB, free: 6.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007477/1.353, allocations: 165.4 kB / 1.32 GB, free: 6.613 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/1.353, allocations: 71.08 kB / 1.32 GB, free: 6.602 MB / 1.014 GB Notification: Performance of SimCode: time 4.2e-07/1.354, allocations: 0 / 1.32 GB, free: 6.602 MB / 1.014 GB Notification: Performance of Templates: time 0.0343/1.388, allocations: 21.37 MB / 1.341 GB, free: 13.96 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)