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.001323/0.001323, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001313/0.001313, allocations: 194.2 kB / 16.25 MB, free: 6.621 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 61.61 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3158, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.88/1.196, allocations: 190.1 MB / 1.253 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007169/1.203, allocations: 3.996 MB / 1.257 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/1.204, allocations: 18.28 kB / 1.257 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/1.206, allocations: 418.6 kB / 1.258 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004179/1.21, allocations: 1.443 MB / 1.259 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/1.214, allocations: 1.255 MB / 1.26 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00299/1.217, allocations: 1.636 MB / 1.262 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/1.218, allocations: 0.9387 MB / 1.263 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/1.221, allocations: 0.9363 MB / 1.264 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/1.222, allocations: 0.8844 MB / 1.265 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/1.222, allocations: 98.72 kB / 1.265 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/1.225, allocations: 1.361 MB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004646/1.226, allocations: 360.4 kB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000699/1.226, allocations: 0.5104 MB / 1.267 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00375/1.23, allocations: 1.723 MB / 1.269 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.23, allocations: 0 / 1.269 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.847e-06/1.23, allocations: 0 / 1.269 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.571e-05/1.23, allocations: 4 kB / 1.269 GB, free: 5.316 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.003917/1.234, allocations: 1.441 MB / 1.27 GB, free: 20.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.234, allocations: 12.2 kB / 1.27 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/1.236, allocations: 239.7 kB / 1.27 GB, free: 20.58 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009066/1.237, allocations: 0.588 MB / 1.271 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/1.237, allocations: 42.62 kB / 1.271 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.237, allocations: 53.45 kB / 1.271 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/1.239, allocations: 0.9639 MB / 1.272 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/1.239, allocations: 0 / 1.272 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-05/1.239, allocations: 21.19 kB / 1.272 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/1.239, allocations: 31.94 kB / 1.272 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/1.241, allocations: 0.9464 MB / 1.273 GB, free: 20.07 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.006085/1.247, allocations: 4.258 MB / 1.277 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/1.248, allocations: 0.5992 MB / 1.278 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009367/1.249, allocations: 0.5179 MB / 1.278 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/1.25, allocations: 0.8786 MB / 1.279 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.25, allocations: 38.8 kB / 1.279 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002147/1.252, allocations: 454.6 kB / 1.279 GB, free: 16.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 3.507e-06/1.252, allocations: 1.5 kB / 1.279 GB, free: 16.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01841/1.271, allocations: 3.842 MB / 1.283 GB, free: 16.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.271, allocations: 60.5 kB / 1.283 GB, free: 16.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.272, allocations: 0.7082 MB / 1.284 GB, free: 16.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002113/1.272, allocations: 35.45 kB / 1.284 GB, free: 16.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/1.272, allocations: 320.7 kB / 1.284 GB, free: 16.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.272, allocations: 173.7 kB / 1.284 GB, free: 16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/1.273, allocations: 151.5 kB / 1.285 GB, free: 15.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.273, allocations: 324.9 kB / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/1.274, allocations: 398.2 kB / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/1.274, allocations: 490.5 kB / 1.286 GB, free: 15.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/1.276, allocations: 0.9182 MB / 1.287 GB, free: 15.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.276, allocations: 1.203 kB / 1.287 GB, free: 15.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01105/1.287, allocations: 2.566 MB / 1.289 GB, free: 15.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.287, allocations: 6.438 kB / 1.289 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.287, allocations: 4.625 kB / 1.289 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009635/1.296, allocations: 1.738 MB / 1.291 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/1.297, allocations: 94.47 kB / 1.291 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.31, allocations: 7.154 MB / 1.298 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.311, allocations: 31.17 kB / 1.298 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/1.311, allocations: 49.2 kB / 1.298 GB, free: 12.39 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.0004788/1.311, allocations: 206.5 kB / 1.298 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/1.312, allocations: 83.06 kB / 1.298 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/1.317, allocations: 1.743 MB / 1.3 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.317, allocations: 6 kB / 1.3 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.317, allocations: 3.25 kB / 1.3 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.317, allocations: 3.094 kB / 1.3 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005747/1.323, allocations: 2.537 MB / 1.302 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.323, allocations: 1.375 kB / 1.302 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/1.323, allocations: 90.75 kB / 1.303 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003318/1.326, allocations: 0.7977 MB / 1.303 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/1.327, allocations: 18.7 kB / 1.303 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006486/1.333, allocations: 4.867 MB / 1.308 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.333, allocations: 6.188 kB / 1.308 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/1.338, allocations: 2.147 MB / 1.31 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/1.339, allocations: 230.4 kB / 1.31 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/1.339, allocations: 15.97 kB / 1.31 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/1.34, allocations: 27.52 kB / 1.31 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/1.34, allocations: 62.02 kB / 1.31 GB, free: 8.398 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/1.34, allocations: 17.52 kB / 1.31 GB, free: 8.398 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000648/1.34, allocations: 0.4981 MB / 1.311 GB, free: 8.305 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.34, allocations: 0 / 1.311 GB, free: 8.305 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001197/1.342, allocations: 293.4 kB / 1.311 GB, free: 8.285 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.0005322/1.342, allocations: 231.8 kB / 1.311 GB, free: 8.164 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003687/1.346, allocations: 1.509 MB / 1.313 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.346, allocations: 2.562 kB / 1.313 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/1.348, allocations: 0.9138 MB / 1.314 GB, free: 7.594 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.35, allocations: 456.8 kB / 1.314 GB, free: 7.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/1.352, allocations: 1.968 MB / 1.316 GB, free: 6.496 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/1.353, allocations: 0.9839 MB / 1.317 GB, free: 5.785 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006414/1.353, allocations: 159.5 kB / 1.317 GB, free: 5.742 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/1.354, allocations: 72.64 kB / 1.317 GB, free: 5.73 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/1.354, allocations: 0 / 1.317 GB, free: 5.73 MB / 1.014 GB Notification: Performance of Templates: time 0.0426/1.396, allocations: 22.66 MB / 1.34 GB, free: 14.2 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)