Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.008357/0.008357, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001691/0.001692, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002777/0.002777, allocations: 301.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.205/1.205, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 99.84 kB / 0.6814 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.5878, allocations: 86.97 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.2396/0.8274, allocations: 192.6 MB / 0.9545 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6674/1.495, allocations: 4.009 MB / 0.9584 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/1.497, allocations: 23.06 kB / 0.9584 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/1.498, allocations: 488.2 kB / 0.9589 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006004/1.504, allocations: 1.591 MB / 0.9604 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004886/1.509, allocations: 1.374 MB / 0.9618 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00387/1.513, allocations: 1.639 MB / 0.9634 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/1.515, allocations: 0.9467 MB / 0.9643 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00292/1.518, allocations: 0.94 MB / 0.9652 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/1.52, allocations: 0.8575 MB / 0.9661 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/1.52, allocations: 96.06 kB / 0.9662 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/1.524, allocations: 1.31 MB / 0.9674 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005278/1.524, allocations: 351 kB / 0.9678 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009548/1.525, allocations: 0.5162 MB / 0.9683 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004175/1.529, allocations: 1.649 MB / 0.9699 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.53, allocations: 1.203 kB / 0.9699 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/1.53, allocations: 0.8125 kB / 0.9699 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.239e-05/1.53, allocations: 0 / 0.9699 GB, free: 1.547 MB / 0.7169 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.003732/1.533, allocations: 1.444 MB / 0.9713 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.533, allocations: 13.03 kB / 0.9713 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/1.535, allocations: 237.1 kB / 0.9715 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/1.536, allocations: 0.61 MB / 0.9721 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/1.536, allocations: 37.56 kB / 0.9722 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.536, allocations: 47.5 kB / 0.9722 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/1.538, allocations: 0.9663 MB / 0.9732 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.538, allocations: 2.562 kB / 0.9732 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/1.538, allocations: 26.41 kB / 0.9732 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/1.538, allocations: 33.28 kB / 0.9732 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/1.539, allocations: 0.9339 MB / 0.9741 GB, free: 16.31 MB / 0.7325 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.005706/1.545, allocations: 4.262 MB / 0.9783 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/1.546, allocations: 0.5952 MB / 0.9789 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007088/1.547, allocations: 0.5123 MB / 0.9794 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/1.548, allocations: 0.8771 MB / 0.9802 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/1.548, allocations: 45.38 kB / 0.9803 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001677/1.55, allocations: 414.4 kB / 0.9807 GB, free: 13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 7.824e-06/1.55, allocations: 3.984 kB / 0.9807 GB, free: 13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.0175/1.567, allocations: 3.834 MB / 0.9844 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/1.567, allocations: 58.16 kB / 0.9845 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/1.569, allocations: 0.7058 MB / 0.9852 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/1.569, allocations: 35.14 kB / 0.9852 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/1.569, allocations: 323.9 kB / 0.9855 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/1.569, allocations: 177.8 kB / 0.9857 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/1.57, allocations: 151.9 kB / 0.9858 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.57, allocations: 332.4 kB / 0.9861 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/1.571, allocations: 395.2 kB / 0.9865 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007155/1.571, allocations: 484.6 kB / 0.987 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/1.573, allocations: 0.9205 MB / 0.9879 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.573, allocations: 3.594 kB / 0.9879 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01136/1.584, allocations: 2.558 MB / 0.9904 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.584, allocations: 5.562 kB / 0.9904 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.584, allocations: 6.688 kB / 0.9904 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009614/1.594, allocations: 1.733 MB / 0.9921 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/1.594, allocations: 89.36 kB / 0.9922 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/1.608, allocations: 7.152 MB / 0.9991 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.61, allocations: 17.14 kB / 0.9992 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/1.61, allocations: 54.19 kB / 0.9992 GB, free: 8.676 MB / 0.7325 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.0007448/1.611, allocations: 210.2 kB / 0.9994 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004364/1.611, allocations: 78.72 kB / 0.9995 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005377/1.617, allocations: 1.734 MB / 1.001 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.617, allocations: 4.719 kB / 1.001 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/1.617, allocations: 9.281 kB / 1.001 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/1.617, allocations: 6.328 kB / 1.001 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007025/1.624, allocations: 2.54 MB / 1.004 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.624, allocations: 3.594 kB / 1.004 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/1.624, allocations: 89.92 kB / 1.004 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/1.628, allocations: 0.7959 MB / 1.005 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.628, allocations: 16.42 kB / 1.005 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007601/1.636, allocations: 4.855 MB / 1.009 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.636, allocations: 7.5 kB / 1.009 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006067/1.642, allocations: 2.145 MB / 1.011 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/1.643, allocations: 233.5 kB / 1.012 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003827/1.643, allocations: 15.16 kB / 1.012 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009726/1.644, allocations: 24.06 kB / 1.012 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/1.644, allocations: 60.83 kB / 1.012 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.885e-05/1.644, allocations: 18.19 kB / 1.012 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001132/1.646, allocations: 0.4983 MB / 1.012 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.31e-07/1.646, allocations: 0 / 1.012 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001841/1.647, allocations: 285.5 kB / 1.012 GB, free: 4.605 MB / 0.7325 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.0007437/1.648, allocations: 221.1 kB / 1.013 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004486/1.653, allocations: 1.469 MB / 1.014 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.653, allocations: 0 / 1.014 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/1.655, allocations: 0.9124 MB / 1.015 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/1.658, allocations: 462.8 kB / 1.015 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/1.663, allocations: 1.698 MB / 1.017 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.664, allocations: 0.9863 MB / 1.018 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001088/1.665, allocations: 172.1 kB / 1.018 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/1.665, allocations: 68.8 kB / 1.018 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of SimCode: time 1.513e-06/1.665, allocations: 0 / 1.018 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of Templates: time 0.04624/1.712, allocations: 22.79 MB / 1.041 GB, free: 2.512 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)