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.005312/0.005312, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001216/0.001216, 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.8003/0.8003, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 64.81 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 82.04 MB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4643/0.6041, allocations: 192.7 MB / 0.8638 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00545/0.6096, allocations: 4.033 MB / 0.8678 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.61, allocations: 19.88 kB / 0.8678 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.611, allocations: 481 kB / 0.8683 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.6139, allocations: 1.602 MB / 0.8698 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.6167, allocations: 1.373 MB / 0.8712 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.6183, allocations: 1.636 MB / 0.8728 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/0.6193, allocations: 0.9471 MB / 0.8737 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.6204, allocations: 0.9501 MB / 0.8746 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008897/0.6213, allocations: 0.8527 MB / 0.8755 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.6214, allocations: 96 kB / 0.8755 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.6234, allocations: 1.313 MB / 0.8768 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.6237, allocations: 351 kB / 0.8772 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00047/0.6242, allocations: 0.5211 MB / 0.8777 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.6259, allocations: 1.679 MB / 0.8793 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.626, allocations: 0 / 0.8793 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.082e-06/0.626, allocations: 0 / 0.8793 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.626, allocations: 4 kB / 0.8793 GB, free: 13.17 MB / 0.6544 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.002706/0.6287, allocations: 1.441 MB / 0.8807 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.6287, allocations: 8.031 kB / 0.8807 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.6303, allocations: 238.8 kB / 0.881 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/0.6311, allocations: 0.6071 MB / 0.8815 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.6311, allocations: 47.55 kB / 0.8816 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6312, allocations: 55.98 kB / 0.8816 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.6326, allocations: 0.957 MB / 0.8826 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6327, allocations: 0 / 0.8826 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.6328, allocations: 24 kB / 0.8826 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.6328, allocations: 31.98 kB / 0.8826 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.6343, allocations: 0.9367 MB / 0.8835 GB, free: 8.672 MB / 0.6544 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.004879/0.6391, allocations: 4.262 MB / 0.8877 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/0.6401, allocations: 0.6042 MB / 0.8883 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.6408, allocations: 0.5175 MB / 0.8888 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009519/0.6418, allocations: 0.8744 MB / 0.8897 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.6418, allocations: 39 kB / 0.8897 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001357/0.6432, allocations: 419.1 kB / 0.8901 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 1.973e-06/0.6432, allocations: 4 kB / 0.8901 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01736/0.6605, allocations: 3.841 MB / 0.8939 GB, free: 13.69 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.6606, allocations: 59.78 kB / 0.8939 GB, free: 13.62 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009738/0.6616, allocations: 0.7116 MB / 0.8946 GB, free: 12.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.6618, allocations: 37.7 kB / 0.8946 GB, free: 12.86 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.662, allocations: 316.6 kB / 0.8949 GB, free: 12.54 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.6622, allocations: 177.4 kB / 0.8951 GB, free: 12.37 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.6624, allocations: 150 kB / 0.8953 GB, free: 12.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6625, allocations: 330 kB / 0.8956 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.6632, allocations: 400.8 kB / 0.896 GB, free: 11.49 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/0.6639, allocations: 485.5 kB / 0.8964 GB, free: 10.99 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.6653, allocations: 0.9219 MB / 0.8973 GB, free: 10.04 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6653, allocations: 0 / 0.8973 GB, free: 10.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0113/0.6766, allocations: 2.56 MB / 0.8998 GB, free: 7.465 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6767, allocations: 8 kB / 0.8998 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6767, allocations: 0 / 0.8998 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009603/0.6863, allocations: 1.726 MB / 0.9015 GB, free: 5.723 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.6867, allocations: 95.86 kB / 0.9016 GB, free: 5.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.6988, allocations: 7.138 MB / 0.9086 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/0.6995, allocations: 20.06 kB / 0.9086 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.6996, allocations: 47.92 kB / 0.9086 GB, free: 14.13 MB / 0.6856 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.0003515/0.7, allocations: 206.6 kB / 0.9088 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.7001, allocations: 79.06 kB / 0.9089 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00493/0.7051, allocations: 1.734 MB / 0.9106 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.7051, allocations: 11.94 kB / 0.9106 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7051, allocations: 4.875 kB / 0.9106 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.7051, allocations: 3.984 kB / 0.9106 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00564/0.7108, allocations: 2.544 MB / 0.9131 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.7108, allocations: 0 / 0.9131 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/0.7112, allocations: 87.89 kB / 0.9132 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/0.7145, allocations: 0.8098 MB / 0.914 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/0.7146, allocations: 17.12 kB / 0.914 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006494/0.7211, allocations: 4.852 MB / 0.9187 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.7211, allocations: 4 kB / 0.9187 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/0.7262, allocations: 2.155 MB / 0.9208 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.7266, allocations: 232 kB / 0.9211 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.7267, allocations: 12 kB / 0.9211 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/0.7273, allocations: 23.98 kB / 0.9211 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.7275, allocations: 56.42 kB / 0.9212 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.7275, allocations: 16 kB / 0.9212 GB, free: 0.8438 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005897/0.7281, allocations: 0.499 MB / 0.9217 GB, free: 360 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7281, allocations: 0 / 0.9217 GB, free: 360 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008462/0.729, allocations: 287.8 kB / 0.9219 GB, free: 72 kB / 0.6856 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.0004525/0.7294, allocations: 220.3 kB / 0.9221 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003349/0.7328, allocations: 1.465 MB / 0.9236 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.7328, allocations: 4 kB / 0.9236 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.7346, allocations: 0.9108 MB / 0.9245 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.7366, allocations: 459.1 kB / 0.9249 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.739, allocations: 1.706 MB / 0.9266 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.7396, allocations: 0.9828 MB / 0.9275 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005275/0.7401, allocations: 170.6 kB / 0.9277 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.7403, allocations: 67.42 kB / 0.9278 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of SimCode: time 3.11e-07/0.7403, allocations: 0 / 0.9278 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of Templates: time 0.03965/0.7799, allocations: 22.83 MB / 0.95 GB, free: 3.395 MB / 0.7169 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)