Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00147/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001751/0.001751, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9534/0.9534, allocations: 143 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 59.91 kB / 0.5135 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1431, allocations: 82.05 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4073/0.5505, allocations: 190.5 MB / 0.7796 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005764/0.5563, allocations: 4.07 MB / 0.7836 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004426/0.5568, allocations: 19.88 kB / 0.7836 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.5578, allocations: 397.8 kB / 0.784 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.5606, allocations: 1.439 MB / 0.7854 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.5632, allocations: 1.236 MB / 0.7866 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.5652, allocations: 2.349 MB / 0.7889 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009467/0.5661, allocations: 0.8831 MB / 0.7897 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.5672, allocations: 0.8564 MB / 0.7906 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008863/0.5681, allocations: 0.8838 MB / 0.7914 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.5682, allocations: 76 kB / 0.7915 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.5705, allocations: 1.582 MB / 0.7931 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.5708, allocations: 335 kB / 0.7934 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004472/0.5713, allocations: 497.7 kB / 0.7939 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.5731, allocations: 1.749 MB / 0.7956 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5731, allocations: 0 / 0.7956 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5731, allocations: 0 / 0.7956 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.5731, allocations: 4 kB / 0.7956 GB, free: 14.84 MB / 0.6231 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.002927/0.576, allocations: 1.456 MB / 0.797 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.5761, allocations: 8.031 kB / 0.797 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.5777, allocations: 238.7 kB / 0.7972 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.5784, allocations: 0.5837 MB / 0.7978 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.5785, allocations: 40.06 kB / 0.7978 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5786, allocations: 52 kB / 0.7979 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.58, allocations: 0.9609 MB / 0.7988 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.58, allocations: 7.938 kB / 0.7988 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.997e-05/0.5801, allocations: 23.98 kB / 0.7989 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.5802, allocations: 24 kB / 0.7989 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.5817, allocations: 0.9445 MB / 0.7998 GB, free: 10.36 MB / 0.6231 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.004921/0.5866, allocations: 4.252 MB / 0.804 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.5876, allocations: 0.6061 MB / 0.8045 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.5883, allocations: 0.5097 MB / 0.805 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009517/0.5893, allocations: 0.8861 MB / 0.8059 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.5893, allocations: 35 kB / 0.8059 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001642/0.591, allocations: 443 kB / 0.8064 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 4.238e-06/0.591, allocations: 0 / 0.8064 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01845/0.6094, allocations: 3.833 MB / 0.8101 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.6095, allocations: 59.83 kB / 0.8102 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008471/0.6104, allocations: 0.7115 MB / 0.8109 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.386e-05/0.6104, allocations: 37.7 kB / 0.8109 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.6107, allocations: 328.6 kB / 0.8112 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.6108, allocations: 169.5 kB / 0.8114 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.6111, allocations: 154 kB / 0.8115 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.6112, allocations: 330 kB / 0.8118 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/0.6119, allocations: 392.9 kB / 0.8122 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.6126, allocations: 489.5 kB / 0.8127 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.6141, allocations: 0.9218 MB / 0.8136 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6141, allocations: 0 / 0.8136 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0123/0.6265, allocations: 2.556 MB / 0.8161 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.6265, allocations: 8.625 kB / 0.8161 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.6265, allocations: 128 / 0.8161 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/0.6369, allocations: 1.731 MB / 0.8178 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.6374, allocations: 91.88 kB / 0.8179 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.65, allocations: 6.665 MB / 0.8244 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008479/0.6509, allocations: 31.89 kB / 0.8244 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.651, allocations: 51.86 kB / 0.8244 GB, free: 300 kB / 0.6387 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.0004041/0.6514, allocations: 205.7 kB / 0.8246 GB, free: 84 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.6517, allocations: 83.06 kB / 0.8247 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/0.6571, allocations: 1.738 MB / 0.8264 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6571, allocations: 7.938 kB / 0.8264 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6571, allocations: 4 kB / 0.8264 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.6571, allocations: 3.984 kB / 0.8264 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006038/0.6632, allocations: 2.54 MB / 0.8289 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6632, allocations: 4 kB / 0.8289 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.6636, allocations: 87.89 kB / 0.829 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.6672, allocations: 0.8052 MB / 0.8298 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.6672, allocations: 23.92 kB / 0.8298 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006627/0.6739, allocations: 4.47 MB / 0.8342 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6739, allocations: 4 kB / 0.8342 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/0.6794, allocations: 2.155 MB / 0.8363 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.6798, allocations: 232 kB / 0.8365 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.68, allocations: 16 kB / 0.8365 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/0.6807, allocations: 31.89 kB / 0.8365 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.6809, allocations: 56.36 kB / 0.8366 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.681, allocations: 20 kB / 0.8366 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006719/0.6816, allocations: 0.499 MB / 0.8371 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6816, allocations: 0 / 0.8371 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009834/0.6826, allocations: 291.8 kB / 0.8374 GB, free: 2.605 MB / 0.6544 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.0005014/0.6831, allocations: 222.7 kB / 0.8376 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003538/0.6867, allocations: 1.461 MB / 0.839 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.6867, allocations: 4.062 kB / 0.839 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.6885, allocations: 0.9144 MB / 0.8399 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.6907, allocations: 439.1 kB / 0.8403 GB, free: 15.54 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.6935, allocations: 1.972 MB / 0.8423 GB, free: 13.54 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.6941, allocations: 0.9828 MB / 0.8432 GB, free: 12.54 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006314/0.6947, allocations: 158.6 kB / 0.8434 GB, free: 12.38 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.695, allocations: 67.41 kB / 0.8434 GB, free: 12.31 MB / 0.67 GB Notification: Performance of SimCode: time 3.8e-07/0.695, allocations: 4 kB / 0.8434 GB, free: 12.3 MB / 0.67 GB Notification: Performance of Templates: time 0.2661/0.9611, allocations: 21.71 MB / 0.8646 GB, free: 209.5 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)