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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.0009687/0.0009688, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009412/0.0009411, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9773/0.9773, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 8 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 83.41 MB / 0.5973 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4587/0.6253, allocations: 159.9 MB / 0.7534 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006558/0.6319, allocations: 4.084 MB / 0.7574 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000744/0.6327, allocations: 23.75 kB / 0.7574 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.634, allocations: 410.2 kB / 0.7578 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003778/0.6377, allocations: 1.476 MB / 0.7592 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.6395, allocations: 0.6299 MB / 0.7598 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.6412, allocations: 0.9968 MB / 0.7608 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.6423, allocations: 0.827 MB / 0.7616 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.6444, allocations: 0.9583 MB / 0.7626 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007947/0.6452, allocations: 0.6621 MB / 0.7632 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.6454, allocations: 72 kB / 0.7633 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.6472, allocations: 0.6748 MB / 0.7639 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003241/0.6475, allocations: 307.2 kB / 0.7642 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.6477, allocations: 181.3 kB / 0.7644 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.649, allocations: 1.068 MB / 0.7654 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.649, allocations: 0 / 0.7654 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.274e-06/0.649, allocations: 0 / 0.7654 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.6491, allocations: 0 / 0.7654 GB, free: 15.89 MB / 0.5919 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.002867/0.6519, allocations: 1.18 MB / 0.7666 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.652, allocations: 12.03 kB / 0.7666 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.6538, allocations: 246.7 kB / 0.7668 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.6548, allocations: 0.5608 MB / 0.7674 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.6549, allocations: 44.92 kB / 0.7674 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.655, allocations: 48.81 kB / 0.7675 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.6564, allocations: 0.957 MB / 0.7684 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.6565, allocations: 4 kB / 0.7684 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-05/0.6566, allocations: 16 kB / 0.7684 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.6566, allocations: 39.92 kB / 0.7685 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.6582, allocations: 0.9445 MB / 0.7694 GB, free: 11.68 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.005505/0.6637, allocations: 4.19 MB / 0.7735 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009961/0.6647, allocations: 0.6102 MB / 0.7741 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008476/0.6656, allocations: 0.716 MB / 0.7748 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.6657, allocations: 39.75 kB / 0.7748 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001512/0.6672, allocations: 363.1 kB / 0.7752 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 3.516e-06/0.6672, allocations: 0 / 0.7752 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01744/0.6846, allocations: 3.674 MB / 0.7788 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.6848, allocations: 59.84 kB / 0.7788 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.6859, allocations: 0.7039 MB / 0.7795 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.6861, allocations: 37.64 kB / 0.7795 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.6864, allocations: 324.6 kB / 0.7798 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.6866, allocations: 173.5 kB / 0.78 GB, free: 404 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.6866, allocations: 8 kB / 0.78 GB, free: 396 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6868, allocations: 330 kB / 0.7803 GB, free: 60 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.6875, allocations: 396.9 kB / 0.7807 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/0.6882, allocations: 493.5 kB / 0.7812 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/0.689, allocations: 444.7 kB / 0.7816 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.689, allocations: 0 / 0.7816 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01123/0.7002, allocations: 2.486 MB / 0.784 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.7003, allocations: 4 kB / 0.784 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.7003, allocations: 4 kB / 0.784 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009284/0.7096, allocations: 1.553 MB / 0.7856 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.7101, allocations: 95.86 kB / 0.7856 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.722, allocations: 6.702 MB / 0.7922 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009604/0.723, allocations: 35.91 kB / 0.7922 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-05/0.7231, allocations: 47.92 kB / 0.7923 GB, free: 3.512 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003753/0.7235, allocations: 207.5 kB / 0.7925 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.7237, allocations: 79.06 kB / 0.7925 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/0.7287, allocations: 1.68 MB / 0.7942 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.7288, allocations: 8 kB / 0.7942 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7288, allocations: 0.75 kB / 0.7942 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.7288, allocations: 7.984 kB / 0.7942 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/0.7347, allocations: 2.474 MB / 0.7966 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7347, allocations: 4.188 kB / 0.7966 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.7352, allocations: 87.89 kB / 0.7967 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003266/0.7385, allocations: 0.6584 MB / 0.7973 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-05/0.7386, allocations: 19.94 kB / 0.7974 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006524/0.7451, allocations: 4.509 MB / 0.8018 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.7451, allocations: 11.89 kB / 0.8018 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.7506, allocations: 2.153 MB / 0.8039 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/0.7511, allocations: 236 kB / 0.8041 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.7513, allocations: 15.98 kB / 0.8041 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.7519, allocations: 35.89 kB / 0.8042 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.7521, allocations: 48.45 kB / 0.8042 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.7521, allocations: 27.98 kB / 0.8042 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006304/0.7528, allocations: 499 kB / 0.8047 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7528, allocations: 0 / 0.8047 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001019/0.7538, allocations: 283.8 kB / 0.805 GB, free: 6.031 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005246/0.7543, allocations: 232 kB / 0.8052 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003256/0.7576, allocations: 1.379 MB / 0.8065 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7576, allocations: 0 / 0.8065 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.7595, allocations: 0.8951 MB / 0.8074 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.7616, allocations: 440.2 kB / 0.8078 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.7646, allocations: 1.971 MB / 0.8098 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.7652, allocations: 0.9984 MB / 0.8107 GB, free: 48 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006846/0.7659, allocations: 162.7 kB / 0.8109 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.7661, allocations: 75.34 kB / 0.811 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of SimCode: time 7.62e-07/0.7661, allocations: 4 kB / 0.811 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.03443/0.8006, allocations: 20.87 MB / 0.8313 GB, free: 11.21 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: