Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001319/0.001323, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001382/0.001382, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7937/0.7937, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.4911 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5621, allocations: 77.93 MB / 0.5672 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.8906/1.453, allocations: 192.6 MB / 0.7553 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009087/1.462, allocations: 4.027 MB / 0.7592 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/1.464, allocations: 19.69 kB / 0.7592 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/1.466, allocations: 469.6 kB / 0.7597 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006825/1.473, allocations: 1.535 MB / 0.7612 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006158/1.479, allocations: 1.347 MB / 0.7625 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005073/1.484, allocations: 1.632 MB / 0.7641 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/1.487, allocations: 0.9557 MB / 0.765 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/1.49, allocations: 0.913 MB / 0.7659 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/1.492, allocations: 0.8495 MB / 0.7667 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003182/1.493, allocations: 96.91 kB / 0.7668 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004709/1.497, allocations: 1.308 MB / 0.7681 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007397/1.498, allocations: 357.3 kB / 0.7684 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001479/1.5, allocations: 0.5143 MB / 0.7689 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005794/1.505, allocations: 1.616 MB / 0.7705 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/1.506, allocations: 0.7188 kB / 0.7705 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.725e-06/1.506, allocations: 0 / 0.7705 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.909e-05/1.506, allocations: 1.281 kB / 0.7705 GB, free: 1.438 MB / 0.5762 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.005245/1.511, allocations: 1.442 MB / 0.7719 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.492e-05/1.511, allocations: 15.5 kB / 0.7719 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/1.513, allocations: 242.2 kB / 0.7722 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/1.514, allocations: 0.5845 MB / 0.7727 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-05/1.515, allocations: 37.28 kB / 0.7728 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/1.515, allocations: 55.47 kB / 0.7728 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/1.517, allocations: 0.9623 MB / 0.7738 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/1.517, allocations: 5.188 kB / 0.7738 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/1.517, allocations: 23.28 kB / 0.7738 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.1e-05/1.517, allocations: 34.66 kB / 0.7738 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/1.519, allocations: 0.9357 MB / 0.7747 GB, free: 16.19 MB / 0.5919 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.007143/1.526, allocations: 4.266 MB / 0.7789 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.527, allocations: 0.5973 MB / 0.7795 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/1.528, allocations: 0.5213 MB / 0.78 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.529, allocations: 0.8774 MB / 0.7809 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/1.53, allocations: 37.47 kB / 0.7809 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001943/1.532, allocations: 418.2 kB / 0.7813 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.945e-06/1.532, allocations: 3.094 kB / 0.7813 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01797/1.549, allocations: 3.837 MB / 0.785 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/1.55, allocations: 58.44 kB / 0.7851 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/1.551, allocations: 0.7156 MB / 0.7858 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002829/1.551, allocations: 34.83 kB / 0.7858 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/1.552, allocations: 321.2 kB / 0.7861 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/1.552, allocations: 170.6 kB / 0.7863 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/1.553, allocations: 154 kB / 0.7865 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002194/1.553, allocations: 323 kB / 0.7868 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.554, allocations: 399.5 kB / 0.7871 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000788/1.555, allocations: 488.8 kB / 0.7876 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/1.556, allocations: 0.9235 MB / 0.7885 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.556, allocations: 0 / 0.7885 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01211/1.568, allocations: 2.558 MB / 0.791 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/1.568, allocations: 7.969 kB / 0.791 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.568, allocations: 128 / 0.791 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009812/1.578, allocations: 1.739 MB / 0.7927 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/1.579, allocations: 94.61 kB / 0.7928 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/1.593, allocations: 7.152 MB / 0.7998 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.594, allocations: 17 kB / 0.7998 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.595, allocations: 50.7 kB / 0.7999 GB, free: 8.469 MB / 0.5919 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.0005654/1.595, allocations: 208.2 kB / 0.8 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/1.595, allocations: 86.56 kB / 0.8001 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/1.601, allocations: 1.742 MB / 0.8018 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.601, allocations: 5.312 kB / 0.8018 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.601, allocations: 5.281 kB / 0.8018 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.601, allocations: 3.094 kB / 0.8018 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006908/1.608, allocations: 2.545 MB / 0.8043 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.608, allocations: 1.469 kB / 0.8043 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/1.608, allocations: 97.17 kB / 0.8044 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00357/1.612, allocations: 0.802 MB / 0.8052 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.371e-05/1.612, allocations: 17.31 kB / 0.8052 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007919/1.62, allocations: 4.861 MB / 0.81 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.62, allocations: 3.984 kB / 0.81 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006152/1.626, allocations: 2.144 MB / 0.8121 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009451/1.627, allocations: 231.4 kB / 0.8123 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/1.627, allocations: 20.23 kB / 0.8123 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/1.628, allocations: 23.81 kB / 0.8123 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/1.628, allocations: 57.72 kB / 0.8124 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/1.628, allocations: 18.97 kB / 0.8124 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008194/1.629, allocations: 0.5008 MB / 0.8129 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.629, allocations: 0 / 0.8129 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001575/1.631, allocations: 286.8 kB / 0.8132 GB, free: 2.766 MB / 0.5919 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.0007187/1.631, allocations: 222.2 kB / 0.8134 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004411/1.636, allocations: 1.513 MB / 0.8149 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.636, allocations: 0 / 0.8149 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002169/1.638, allocations: 0.9138 MB / 0.8157 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/1.641, allocations: 458.4 kB / 0.8162 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/1.645, allocations: 1.721 MB / 0.8179 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007637/1.645, allocations: 0.9833 MB / 0.8188 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009107/1.646, allocations: 165.9 kB / 0.819 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/1.647, allocations: 67.05 kB / 0.819 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of SimCode: time 1.422e-06/1.647, allocations: 0 / 0.819 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of Templates: time 0.04256/1.689, allocations: 22.65 MB / 0.8412 GB, free: 10.96 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)