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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.004705/0.004705, allocations: 100 kB / 15.73 MB, free: 6.008 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.001282/0.001282, allocations: 193.1 kB / 16.67 MB, free: 5.926 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9098/0.9098, allocations: 143.3 MB / 433.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.67 kB / 0.5953 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1373, allocations: 82.03 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.482/0.6193, allocations: 192.7 MB / 0.8636 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006776/0.6261, allocations: 4.023 MB / 0.8676 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007454/0.6268, allocations: 27.81 kB / 0.8676 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.6282, allocations: 473 kB / 0.868 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.632, allocations: 1.534 MB / 0.8695 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.6354, allocations: 1.355 MB / 0.8709 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002441/0.6379, allocations: 1.636 MB / 0.8725 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.6393, allocations: 0.951 MB / 0.8734 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.641, allocations: 0.9267 MB / 0.8743 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.6424, allocations: 0.8487 MB / 0.8751 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.6427, allocations: 96 kB / 0.8752 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.6454, allocations: 1.309 MB / 0.8765 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005137/0.6459, allocations: 351 kB / 0.8768 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007614/0.6467, allocations: 0.5132 MB / 0.8773 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.6495, allocations: 1.686 MB / 0.879 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6495, allocations: 0 / 0.879 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6495, allocations: 3.938 kB / 0.879 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.775e-05/0.6496, allocations: 0 / 0.879 GB, free: 13.18 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.003432/0.653, allocations: 1.479 MB / 0.8804 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.6531, allocations: 12.03 kB / 0.8804 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001995/0.6533, allocations: 90.52 kB / 0.8805 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.655, allocations: 247.2 kB / 0.8807 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.6565, allocations: 0.6077 MB / 0.8813 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.6565, allocations: 40.94 kB / 0.8814 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.6567, allocations: 51.98 kB / 0.8814 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.6593, allocations: 0.9609 MB / 0.8824 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.6593, allocations: 3.953 kB / 0.8824 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.6595, allocations: 24 kB / 0.8824 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.202e-05/0.6596, allocations: 35.92 kB / 0.8824 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.6622, allocations: 0.9367 MB / 0.8833 GB, free: 8.531 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.008508/0.6707, allocations: 4.275 MB / 0.8875 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.6724, allocations: 0.59 MB / 0.8881 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.6738, allocations: 0.5214 MB / 0.8886 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.6754, allocations: 0.8705 MB / 0.8895 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.6755, allocations: 43 kB / 0.8895 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002326/0.6778, allocations: 415.5 kB / 0.8899 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 5.571e-06/0.6778, allocations: 0 / 0.8899 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.03372/0.7116, allocations: 3.853 MB / 0.8937 GB, free: 13.54 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.7117, allocations: 59.78 kB / 0.8937 GB, free: 13.47 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.7134, allocations: 0.7078 MB / 0.8944 GB, free: 12.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.7136, allocations: 37.7 kB / 0.8944 GB, free: 12.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/0.7141, allocations: 320.9 kB / 0.8947 GB, free: 12.39 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.7144, allocations: 186.3 kB / 0.8949 GB, free: 12.21 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005046/0.715, allocations: 154.1 kB / 0.8951 GB, free: 12.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002283/0.7152, allocations: 334 kB / 0.8954 GB, free: 11.72 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.7166, allocations: 392.9 kB / 0.8958 GB, free: 11.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.7181, allocations: 485.5 kB / 0.8962 GB, free: 10.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/0.7212, allocations: 0.9258 MB / 0.8971 GB, free: 9.883 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7212, allocations: 0 / 0.8971 GB, free: 9.883 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01836/0.7395, allocations: 2.557 MB / 0.8996 GB, free: 7.309 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.7396, allocations: 8 kB / 0.8996 GB, free: 7.301 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.7396, allocations: 2.5 kB / 0.8996 GB, free: 7.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.75, allocations: 1.731 MB / 0.9013 GB, free: 5.562 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.7505, allocations: 95.81 kB / 0.9014 GB, free: 5.469 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/0.7647, allocations: 7.138 MB / 0.9084 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.7655, allocations: 24.92 kB / 0.9084 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.7657, allocations: 43.94 kB / 0.9085 GB, free: 13.97 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.0004296/0.7661, allocations: 209.7 kB / 0.9087 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.7664, allocations: 83.48 kB / 0.9087 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005563/0.7719, allocations: 1.751 MB / 0.9104 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.772, allocations: 4 kB / 0.9104 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.772, allocations: 11.94 kB / 0.9105 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.772, allocations: 3.984 kB / 0.9105 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006392/0.7784, allocations: 2.536 MB / 0.9129 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.7784, allocations: 9.172 kB / 0.9129 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.7789, allocations: 87.89 kB / 0.913 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003597/0.7825, allocations: 0.8015 MB / 0.9138 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.809e-05/0.7826, allocations: 16 kB / 0.9138 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007508/0.7901, allocations: 4.862 MB / 0.9186 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7901, allocations: 4 kB / 0.9186 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/0.7957, allocations: 2.148 MB / 0.9207 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.7962, allocations: 240.4 kB / 0.9209 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.7963, allocations: 15.98 kB / 0.9209 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.7969, allocations: 23.98 kB / 0.9209 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.7971, allocations: 56.44 kB / 0.921 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.7972, allocations: 16 kB / 0.921 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007028/0.7979, allocations: 0.499 MB / 0.9215 GB, free: 168 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7979, allocations: 0 / 0.9215 GB, free: 168 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009375/0.7988, allocations: 279.9 kB / 0.9218 GB, free: 15.89 MB / 0.7012 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.006241/0.8051, allocations: 2.809 MB / 0.9245 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003754/0.8089, allocations: 1.476 MB / 0.926 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8089, allocations: 4 kB / 0.926 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.8108, allocations: 0.9226 MB / 0.9269 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.813, allocations: 451.9 kB / 0.9273 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03196/0.8449, allocations: 10.46 MB / 0.9375 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.8457, allocations: 0.9789 MB / 0.9385 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000668/0.8463, allocations: 162.6 kB / 0.9386 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.8468, allocations: 283.3 kB / 0.9389 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.8468, allocations: 0 / 0.9389 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07006/0.9169, allocations: 29.75 MB / 0.9679 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.59, allocations: 10.06 kB / 0.9679 GB, free: 0.707 MB / 0.7325 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)