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.007824/0.00783, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001967/0.001967, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.8186/0.8186, allocations: 143.1 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.78 kB / 0.595 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1246, allocations: 82.04 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.4734/0.598, allocations: 192.7 MB / 0.8634 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005757/0.6038, allocations: 4.034 MB / 0.8673 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/0.6046, allocations: 19.88 kB / 0.8673 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.6058, allocations: 481 kB / 0.8678 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.6093, allocations: 1.606 MB / 0.8694 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.6123, allocations: 1.374 MB / 0.8707 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.6143, allocations: 1.628 MB / 0.8723 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.6154, allocations: 0.9665 MB / 0.8732 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.6169, allocations: 0.9384 MB / 0.8741 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.6181, allocations: 0.8527 MB / 0.875 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.6183, allocations: 96 kB / 0.8751 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.6207, allocations: 1.313 MB / 0.8764 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.621, allocations: 351 kB / 0.8767 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005101/0.6215, allocations: 0.5172 MB / 0.8772 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.6238, allocations: 1.684 MB / 0.8788 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6238, allocations: 4 kB / 0.8788 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6239, allocations: 4 kB / 0.8788 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.6239, allocations: 0 / 0.8788 GB, free: 13.41 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.002843/0.6267, allocations: 1.473 MB / 0.8803 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.6268, allocations: 8.031 kB / 0.8803 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.6269, allocations: 94.52 kB / 0.8804 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.6285, allocations: 243.2 kB / 0.8806 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.6294, allocations: 0.6116 MB / 0.8812 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.6295, allocations: 37 kB / 0.8812 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.6296, allocations: 55.94 kB / 0.8813 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.631, allocations: 0.9647 MB / 0.8822 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.631, allocations: 7.953 kB / 0.8823 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/0.6311, allocations: 23.98 kB / 0.8823 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/0.6311, allocations: 31.92 kB / 0.8823 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.6326, allocations: 0.9406 MB / 0.8832 GB, free: 8.762 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.005061/0.6377, allocations: 4.27 MB / 0.8874 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/0.6386, allocations: 0.595 MB / 0.888 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/0.6393, allocations: 0.5136 MB / 0.8885 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009303/0.6403, allocations: 0.8783 MB / 0.8893 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.6403, allocations: 38.94 kB / 0.8894 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001446/0.6418, allocations: 423.5 kB / 0.8898 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 2.805e-06/0.6418, allocations: 3.938 kB / 0.8898 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01758/0.6594, allocations: 3.842 MB / 0.8935 GB, free: 13.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.6594, allocations: 63.78 kB / 0.8936 GB, free: 13.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009106/0.6604, allocations: 0.7078 MB / 0.8943 GB, free: 12.98 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.6605, allocations: 33.7 kB / 0.8943 GB, free: 12.95 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.6607, allocations: 320.9 kB / 0.8946 GB, free: 12.63 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.661, allocations: 190.3 kB / 0.8948 GB, free: 12.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.6612, allocations: 150.1 kB / 0.8949 GB, free: 12.29 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.6613, allocations: 329.9 kB / 0.8953 GB, free: 11.96 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006638/0.662, allocations: 396.9 kB / 0.8956 GB, free: 11.57 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/0.6627, allocations: 489.5 kB / 0.8961 GB, free: 11.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.6642, allocations: 0.9141 MB / 0.897 GB, free: 10.12 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6642, allocations: 4 kB / 0.897 GB, free: 10.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01143/0.6756, allocations: 2.564 MB / 0.8995 GB, free: 7.539 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.6757, allocations: 4 kB / 0.8995 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6757, allocations: 7.984 kB / 0.8995 GB, free: 7.527 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009665/0.6854, allocations: 1.729 MB / 0.9012 GB, free: 5.793 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.6859, allocations: 103.7 kB / 0.9013 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.6983, allocations: 7.126 MB / 0.9083 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.6992, allocations: 20.05 kB / 0.9083 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.6994, allocations: 55.91 kB / 0.9083 GB, free: 14.2 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.0004172/0.6998, allocations: 213.7 kB / 0.9085 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.7001, allocations: 87.42 kB / 0.9086 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/0.7051, allocations: 1.73 MB / 0.9103 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.7051, allocations: 8 kB / 0.9103 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.7051, allocations: 4 kB / 0.9103 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.7051, allocations: 3.984 kB / 0.9103 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/0.7112, allocations: 2.544 MB / 0.9128 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7112, allocations: 4 kB / 0.9128 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.7117, allocations: 87.83 kB / 0.9129 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003395/0.7151, allocations: 0.8018 MB / 0.9137 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.7151, allocations: 12 kB / 0.9137 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006485/0.7216, allocations: 4.866 MB / 0.9184 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7217, allocations: 0 / 0.9184 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/0.7269, allocations: 2.151 MB / 0.9205 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.7274, allocations: 244.4 kB / 0.9208 GB, free: 1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.7276, allocations: 12 kB / 0.9208 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.7282, allocations: 19.98 kB / 0.9208 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.7284, allocations: 48.81 kB / 0.9209 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.7284, allocations: 27.98 kB / 0.9209 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006197/0.7291, allocations: 0.499 MB / 0.9214 GB, free: 412 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7291, allocations: 3.938 kB / 0.9214 GB, free: 408 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009625/0.73, allocations: 287.8 kB / 0.9216 GB, free: 120 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.005795/0.7358, allocations: 2.814 MB / 0.9244 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.7394, allocations: 1.472 MB / 0.9258 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7394, allocations: 0 / 0.9258 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.7413, allocations: 0.9147 MB / 0.9267 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.7435, allocations: 459.6 kB / 0.9272 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/0.7733, allocations: 10.46 MB / 0.9374 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.7738, allocations: 0.9789 MB / 0.9383 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006023/0.7745, allocations: 162.6 kB / 0.9385 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.7749, allocations: 283.3 kB / 0.9388 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.7749, allocations: 0 / 0.9388 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.8317, allocations: 29.74 MB / 0.9678 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.49, allocations: 6.344 kB / 0.9678 GB, free: 0.9062 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)