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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 99.7 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.0009495/0.0009494, allocations: 177.3 kB / 15.95 MB, free: 216 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.267/1.267, 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.9659/0.9659, allocations: 143.3 MB / 434.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 8 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1547, allocations: 83.41 MB / 0.5974 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4024/0.5572, allocations: 159.9 MB / 0.7535 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00606/0.5633, allocations: 4.085 MB / 0.7575 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007013/0.564, allocations: 19.88 kB / 0.7575 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.5653, allocations: 410 kB / 0.7579 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.569, allocations: 1.484 MB / 0.7593 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.5707, allocations: 0.633 MB / 0.7599 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.5722, allocations: 0.9883 MB / 0.7609 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.5733, allocations: 0.8231 MB / 0.7617 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.5752, allocations: 0.9583 MB / 0.7626 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008952/0.5761, allocations: 0.6621 MB / 0.7633 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.5763, allocations: 72 kB / 0.7634 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.578, allocations: 0.6748 MB / 0.764 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.5784, allocations: 315.1 kB / 0.7643 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.5786, allocations: 177.3 kB / 0.7645 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.5801, allocations: 1.067 MB / 0.7655 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.5801, allocations: 0 / 0.7655 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5801, allocations: 8 kB / 0.7655 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.5802, allocations: 0 / 0.7655 GB, free: 15.73 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.002692/0.5829, allocations: 1.176 MB / 0.7667 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5829, allocations: 12.03 kB / 0.7667 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.583, allocations: 95.02 kB / 0.7668 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.5846, allocations: 242.7 kB / 0.767 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009052/0.5855, allocations: 0.5609 MB / 0.7676 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.5855, allocations: 37 kB / 0.7676 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5856, allocations: 55.98 kB / 0.7677 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.587, allocations: 0.9609 MB / 0.7686 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.5871, allocations: 8.5 kB / 0.7686 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/0.5872, allocations: 23.98 kB / 0.7686 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/0.5872, allocations: 31.94 kB / 0.7687 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.5887, allocations: 0.9446 MB / 0.7696 GB, free: 11.43 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.005093/0.5938, allocations: 4.17 MB / 0.7736 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/0.5947, allocations: 0.6141 MB / 0.7742 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008021/0.5955, allocations: 0.716 MB / 0.7749 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.5956, allocations: 51.69 kB / 0.775 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001496/0.5971, allocations: 355.2 kB / 0.7753 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 3.336e-06/0.5971, allocations: 0 / 0.7753 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01693/0.6141, allocations: 3.686 MB / 0.7789 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.6141, allocations: 55.84 kB / 0.779 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/0.6151, allocations: 0.7078 MB / 0.7797 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.6153, allocations: 33.7 kB / 0.7797 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.6155, allocations: 320.6 kB / 0.78 GB, free: 324 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.6157, allocations: 177.4 kB / 0.7802 GB, free: 144 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.6158, allocations: 12 kB / 0.7802 GB, free: 132 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6159, allocations: 325.9 kB / 0.7805 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.6166, allocations: 404.9 kB / 0.7809 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.6172, allocations: 481.5 kB / 0.7814 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.618, allocations: 448.7 kB / 0.7818 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.618, allocations: 0 / 0.7818 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01068/0.6287, allocations: 2.482 MB / 0.7842 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.6288, allocations: 12.03 kB / 0.7842 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6288, allocations: 0.5469 kB / 0.7842 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008851/0.6376, allocations: 1.545 MB / 0.7857 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.6382, allocations: 95.86 kB / 0.7858 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.65, allocations: 6.703 MB / 0.7924 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/0.651, allocations: 31.97 kB / 0.7924 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.6511, allocations: 43.94 kB / 0.7924 GB, free: 3.273 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.0003848/0.6515, allocations: 205.7 kB / 0.7926 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.6517, allocations: 83.06 kB / 0.7927 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004951/0.6567, allocations: 1.679 MB / 0.7944 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.6567, allocations: 8 kB / 0.7944 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6567, allocations: 4 kB / 0.7944 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6568, allocations: 4 kB / 0.7944 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/0.6626, allocations: 2.477 MB / 0.7968 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6626, allocations: 0 / 0.7968 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.6631, allocations: 91.89 kB / 0.7969 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003197/0.6663, allocations: 0.6585 MB / 0.7975 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.6663, allocations: 20 kB / 0.7975 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006626/0.673, allocations: 4.512 MB / 0.8019 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.673, allocations: 3.984 kB / 0.8019 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00532/0.6783, allocations: 2.157 MB / 0.8041 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/0.6789, allocations: 235.9 kB / 0.8043 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.6791, allocations: 12 kB / 0.8043 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.6797, allocations: 35.97 kB / 0.8043 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.6799, allocations: 48.45 kB / 0.8044 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.6799, allocations: 23.94 kB / 0.8044 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006697/0.6806, allocations: 0.4951 MB / 0.8049 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6806, allocations: 4 kB / 0.8049 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000988/0.6816, allocations: 287.8 kB / 0.8052 GB, free: 5.781 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.006044/0.6877, allocations: 3.236 MB / 0.8083 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003118/0.6908, allocations: 1.383 MB / 0.8097 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6909, allocations: 0 / 0.8097 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.6926, allocations: 0.8913 MB / 0.8105 GB, free: 156 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.6947, allocations: 442 kB / 0.811 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/0.7134, allocations: 8.161 MB / 0.8189 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.714, allocations: 0.9984 MB / 0.8199 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007912/0.7148, allocations: 163 kB / 0.8201 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.7152, allocations: 285.8 kB / 0.8203 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.7152, allocations: 0 / 0.8203 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04736/0.7626, allocations: 28.12 MB / 0.8478 GB, free: 10.33 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.7629, allocations: 239.5 kB / 0.848 GB, free: 10.06 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.052, allocations: 7.875 kB / 0.848 GB, free: 10.05 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: