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: "" <> 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.0009282/0.0009282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001005/0.001005, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.438 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.8558/0.8558, allocations: 143 MB / 433.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 63.89 kB / 0.5138 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1308, allocations: 82.05 MB / 0.5939 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.3798/0.5106, allocations: 190.2 MB / 0.7797 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005448/0.5161, allocations: 4.001 MB / 0.7836 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007285/0.5168, allocations: 23.75 kB / 0.7836 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.5179, allocations: 421.8 kB / 0.784 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.5209, allocations: 1.439 MB / 0.7854 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.5236, allocations: 1.256 MB / 0.7866 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.5255, allocations: 1.639 MB / 0.7882 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.5266, allocations: 0.9397 MB / 0.7891 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.528, allocations: 0.9344 MB / 0.7901 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.5291, allocations: 0.88 MB / 0.7909 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.5293, allocations: 99.94 kB / 0.791 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.5312, allocations: 1.364 MB / 0.7923 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.5316, allocations: 363 kB / 0.7927 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005404/0.5321, allocations: 0.5094 MB / 0.7932 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.5341, allocations: 1.772 MB / 0.7949 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.5341, allocations: 0 / 0.7949 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5342, allocations: 0 / 0.7949 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.5342, allocations: 0 / 0.7949 GB, free: 15.67 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.002866/0.537, allocations: 1.444 MB / 0.7963 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.5371, allocations: 12.03 kB / 0.7963 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.5372, allocations: 94.5 kB / 0.7964 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.5387, allocations: 242.7 kB / 0.7967 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.5394, allocations: 0.5876 MB / 0.7972 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.5395, allocations: 37.62 kB / 0.7973 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.5396, allocations: 55.98 kB / 0.7973 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.5409, allocations: 0.957 MB / 0.7983 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.5409, allocations: 8 kB / 0.7983 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.541, allocations: 24 kB / 0.7983 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.5411, allocations: 31.92 kB / 0.7983 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.5424, allocations: 0.9329 MB / 0.7992 GB, free: 11.09 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.004512/0.5469, allocations: 4.266 MB / 0.8034 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.5478, allocations: 0.59 MB / 0.804 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006742/0.5485, allocations: 0.5136 MB / 0.8045 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008702/0.5494, allocations: 0.89 MB / 0.8053 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.5494, allocations: 35 kB / 0.8054 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001522/0.5509, allocations: 459 kB / 0.8058 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 1.693e-06/0.5509, allocations: 0 / 0.8058 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01625/0.5672, allocations: 3.833 MB / 0.8096 GB, free: 76 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.5672, allocations: 55.84 kB / 0.8096 GB, free: 8 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.568, allocations: 0.7154 MB / 0.8103 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.5681, allocations: 33.7 kB / 0.8103 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.5684, allocations: 328.5 kB / 0.8107 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5685, allocations: 181.4 kB / 0.8108 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.5687, allocations: 150 kB / 0.811 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.5688, allocations: 322 kB / 0.8113 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005859/0.5694, allocations: 396.9 kB / 0.8117 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.5701, allocations: 493.5 kB / 0.8121 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.5714, allocations: 0.9141 MB / 0.813 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5714, allocations: 4 kB / 0.813 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01028/0.5817, allocations: 2.564 MB / 0.8155 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.5817, allocations: 4 kB / 0.8155 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5817, allocations: 4 kB / 0.8155 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009027/0.5908, allocations: 1.734 MB / 0.8172 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.5912, allocations: 92.38 kB / 0.8173 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.6025, allocations: 7.153 MB / 0.8243 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.6032, allocations: 35.89 kB / 0.8243 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.6033, allocations: 47.92 kB / 0.8244 GB, free: 500 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.0002845/0.6036, allocations: 201.8 kB / 0.8246 GB, free: 288 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.6037, allocations: 79.06 kB / 0.8246 GB, free: 208 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/0.6084, allocations: 1.747 MB / 0.8264 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6084, allocations: 7.938 kB / 0.8264 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6084, allocations: 4 kB / 0.8264 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.6084, allocations: 3.984 kB / 0.8264 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005235/0.6137, allocations: 2.54 MB / 0.8288 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6137, allocations: 4 kB / 0.8289 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.6141, allocations: 87.89 kB / 0.8289 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/0.6172, allocations: 0.8074 MB / 0.8297 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.6173, allocations: 19.98 kB / 0.8297 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005888/0.6232, allocations: 4.857 MB / 0.8345 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6232, allocations: 4 kB / 0.8345 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.6279, allocations: 2.159 MB / 0.8366 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.6282, allocations: 235.9 kB / 0.8368 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6283, allocations: 12 kB / 0.8368 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.6288, allocations: 31.89 kB / 0.8369 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.629, allocations: 56.42 kB / 0.8369 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.629, allocations: 20 kB / 0.8369 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005144/0.6295, allocations: 0.4951 MB / 0.8374 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6295, allocations: 0 / 0.8374 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007302/0.6303, allocations: 287.8 kB / 0.8377 GB, free: 2.41 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.005221/0.6355, allocations: 2.806 MB / 0.8404 GB, free: 15.56 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003241/0.6388, allocations: 1.507 MB / 0.8419 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6388, allocations: 8 kB / 0.8419 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.6403, allocations: 0.9147 MB / 0.8428 GB, free: 13.08 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.6421, allocations: 469.1 kB / 0.8433 GB, free: 12.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02716/0.6693, allocations: 10.9 MB / 0.8539 GB, free: 1.582 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.6698, allocations: 0.9828 MB / 0.8549 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006409/0.6704, allocations: 162.6 kB / 0.855 GB, free: 416 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.6708, allocations: 287.3 kB / 0.8553 GB, free: 128 kB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.6708, allocations: 0 / 0.8553 GB, free: 128 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2369/0.9077, allocations: 29.39 MB / 0.884 GB, free: 211.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.9079, allocations: 270.4 kB / 0.8843 GB, free: 210.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/3.092, allocations: 4 kB / 0.8843 GB, free: 210.7 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/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)