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.001209/0.001209, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01012/0.01012, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.517/1.517, 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 3.011/3.011, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 8.625 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3907, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.8928/1.284, allocations: 187.9 MB / 1.258 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007123/1.291, allocations: 4.018 MB / 1.262 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/1.292, allocations: 16.72 kB / 1.262 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/1.293, allocations: 396.2 kB / 1.262 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004336/1.298, allocations: 1.445 MB / 1.263 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004466/1.302, allocations: 1.244 MB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003869/1.306, allocations: 2.355 MB / 1.267 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/1.307, allocations: 0.8692 MB / 1.268 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/1.309, allocations: 0.8452 MB / 1.269 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/1.311, allocations: 0.87 MB / 1.269 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/1.311, allocations: 70.47 kB / 1.269 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/1.314, allocations: 1.569 MB / 1.271 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/1.315, allocations: 327.7 kB / 1.271 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009686/1.316, allocations: 0.5151 MB / 1.272 GB, free: 21.92 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003363/1.319, allocations: 1.682 MB / 1.273 GB, free: 21.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.319, allocations: 0.5 kB / 1.273 GB, free: 21.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.016e-06/1.319, allocations: 1.25 kB / 1.273 GB, free: 21.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.319, allocations: 0 / 1.273 GB, free: 21.83 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.003117/1.322, allocations: 1.18 MB / 1.275 GB, free: 21.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.322, allocations: 10.19 kB / 1.275 GB, free: 21.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/1.324, allocations: 245.5 kB / 1.275 GB, free: 21.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/1.325, allocations: 0.5822 MB / 1.275 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/1.325, allocations: 37.91 kB / 1.275 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.325, allocations: 47.83 kB / 1.275 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/1.327, allocations: 0.9703 MB / 1.276 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/1.327, allocations: 12.78 kB / 1.276 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/1.327, allocations: 21.09 kB / 1.276 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.803e-05/1.327, allocations: 26.2 kB / 1.276 GB, free: 20.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/1.329, allocations: 0.9523 MB / 1.277 GB, free: 20.59 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.006932/1.336, allocations: 4.189 MB / 1.281 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/1.338, allocations: 0.6008 MB / 1.282 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/1.339, allocations: 0.521 MB / 1.283 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/1.34, allocations: 0.8937 MB / 1.283 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/1.34, allocations: 43.94 kB / 1.284 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001844/1.342, allocations: 363.7 kB / 1.284 GB, free: 17.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 3.036e-06/1.342, allocations: 0 / 1.284 GB, free: 17.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01978/1.362, allocations: 3.695 MB / 1.287 GB, free: 16.83 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/1.362, allocations: 60.03 kB / 1.288 GB, free: 16.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/1.363, allocations: 0.7105 MB / 1.288 GB, free: 16.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/1.364, allocations: 36.02 kB / 1.288 GB, free: 16.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/1.364, allocations: 320.1 kB / 1.289 GB, free: 16.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/1.364, allocations: 175.2 kB / 1.289 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/1.364, allocations: 46.27 kB / 1.289 GB, free: 16.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.365, allocations: 323.8 kB / 1.289 GB, free: 16.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/1.365, allocations: 400.9 kB / 1.289 GB, free: 16.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/1.366, allocations: 494 kB / 1.29 GB, free: 15.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/1.368, allocations: 0.9323 MB / 1.291 GB, free: 15.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.368, allocations: 1.062 kB / 1.291 GB, free: 15.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01213/1.38, allocations: 2.484 MB / 1.293 GB, free: 15.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/1.38, allocations: 5.469 kB / 1.293 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.38, allocations: 7.703 kB / 1.293 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009672/1.39, allocations: 1.557 MB / 1.295 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/1.391, allocations: 99.23 kB / 1.295 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/1.404, allocations: 6.558 MB / 1.301 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.405, allocations: 31.62 kB / 1.301 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/1.405, allocations: 48.05 kB / 1.301 GB, free: 13 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.0007174/1.406, allocations: 205.8 kB / 1.302 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/1.406, allocations: 90.03 kB / 1.302 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/1.412, allocations: 1.674 MB / 1.303 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/1.412, allocations: 8.5 kB / 1.303 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.14e-05/1.412, allocations: 7.281 kB / 1.303 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/1.412, allocations: 4.125 kB / 1.303 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007426/1.42, allocations: 2.473 MB / 1.306 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.42, allocations: 1.312 kB / 1.306 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/1.42, allocations: 95.94 kB / 1.306 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/1.424, allocations: 0.6523 MB / 1.306 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.68e-05/1.424, allocations: 17.75 kB / 1.306 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006878/1.431, allocations: 4.429 MB / 1.311 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.431, allocations: 0 / 1.311 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005448/1.436, allocations: 2.1 MB / 1.313 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/1.437, allocations: 236.2 kB / 1.313 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/1.437, allocations: 11.38 kB / 1.313 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009151/1.438, allocations: 29.89 kB / 1.313 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/1.438, allocations: 63.23 kB / 1.313 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/1.438, allocations: 21.78 kB / 1.313 GB, free: 9.262 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001037/1.439, allocations: 0.4988 MB / 1.314 GB, free: 9.168 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.8e-07/1.439, allocations: 0 / 1.314 GB, free: 9.168 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001656/1.441, allocations: 287.1 kB / 1.314 GB, free: 9.152 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.0006828/1.442, allocations: 221.1 kB / 1.314 GB, free: 9.039 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003784/1.446, allocations: 1.42 MB / 1.316 GB, free: 8.746 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.446, allocations: 0 / 1.316 GB, free: 8.746 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/1.447, allocations: 0.8833 MB / 1.316 GB, free: 8.488 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/1.45, allocations: 447.1 kB / 1.317 GB, free: 8.449 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/1.454, allocations: 2.054 MB / 1.319 GB, free: 7.395 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008204/1.455, allocations: 0.9844 MB / 1.32 GB, free: 6.684 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009047/1.456, allocations: 155.8 kB / 1.32 GB, free: 6.648 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/1.456, allocations: 70.25 kB / 1.32 GB, free: 6.637 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/1.456, allocations: 2.844 kB / 1.32 GB, free: 6.637 MB / 1.014 GB Notification: Performance of Templates: time 0.03748/1.494, allocations: 21.39 MB / 1.341 GB, free: 14.04 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)