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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 216.9 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9302/0.9302, allocations: 145 MB / 457.4 MB, free: 15.24 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 74.39 kB / 0.6331 GB, free: 6.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1893, allocations: 87.88 MB / 0.7189 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5624/0.7517, allocations: 170.5 MB / 0.8855 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006443/0.7582, allocations: 3.795 MB / 0.8892 GB, free: 12.69 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005761/0.7588, allocations: 23.81 kB / 0.8892 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.76, allocations: 465.1 kB / 0.8896 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.7635, allocations: 1.567 MB / 0.8912 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.7669, allocations: 1.409 MB / 0.8925 GB, free: 9.227 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.769, allocations: 1.639 MB / 0.8941 GB, free: 7.578 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.77, allocations: 0.8357 MB / 0.8949 GB, free: 6.73 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.7714, allocations: 0.9657 MB / 0.8959 GB, free: 5.762 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.7726, allocations: 0.8525 MB / 0.8967 GB, free: 4.906 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.7728, allocations: 100 kB / 0.8968 GB, free: 4.809 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.7749, allocations: 1.106 MB / 0.8979 GB, free: 3.699 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.7753, allocations: 366.9 kB / 0.8982 GB, free: 3.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005161/0.7758, allocations: 462.1 kB / 0.8987 GB, free: 2.887 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.778, allocations: 1.693 MB / 0.9003 GB, free: 1.191 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.778, allocations: 4 kB / 0.9003 GB, free: 1.188 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.784e-06/0.778, allocations: 0 / 0.9003 GB, free: 1.188 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.778, allocations: 0 / 0.9003 GB, free: 1.188 MB / 0.67 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.002599/0.7806, allocations: 1.185 MB / 0.9015 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7806, allocations: 8.031 kB / 0.9015 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.7808, allocations: 98.45 kB / 0.9016 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.7822, allocations: 244.1 kB / 0.9018 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.7832, allocations: 0.5615 MB / 0.9024 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.7833, allocations: 37 kB / 0.9024 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.7834, allocations: 52 kB / 0.9025 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.785, allocations: 1.046 MB / 0.9035 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.785, allocations: 3.938 kB / 0.9035 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.7851, allocations: 23.98 kB / 0.9035 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/0.7851, allocations: 31.98 kB / 0.9036 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.7868, allocations: 1.003 MB / 0.9045 GB, free: 12.74 MB / 0.6856 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.005275/0.7921, allocations: 3.725 MB / 0.9082 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.7931, allocations: 0.5522 MB / 0.9087 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008039/0.7939, allocations: 490.5 kB / 0.9092 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006927/0.7946, allocations: 140.3 kB / 0.9093 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.7946, allocations: 39 kB / 0.9093 GB, free: 7.672 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00232/0.7969, allocations: 0.636 MB / 0.91 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 1.963e-06/0.7969, allocations: 0 / 0.91 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01785/0.8148, allocations: 3.668 MB / 0.9135 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.8148, allocations: 63.78 kB / 0.9136 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.8158, allocations: 0.7155 MB / 0.9143 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.8159, allocations: 37.7 kB / 0.9143 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.8162, allocations: 320.9 kB / 0.9147 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.8164, allocations: 186.4 kB / 0.9148 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.8167, allocations: 146 kB / 0.915 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.8168, allocations: 329.9 kB / 0.9153 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.8175, allocations: 392.8 kB / 0.9157 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008065/0.8183, allocations: 0.5265 MB / 0.9162 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.8199, allocations: 0.9219 MB / 0.9171 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8199, allocations: 3.938 kB / 0.9171 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0115/0.8314, allocations: 2.561 MB / 0.9196 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.8314, allocations: 4 kB / 0.9196 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.8314, allocations: 4 kB / 0.9196 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009657/0.8411, allocations: 1.718 MB / 0.9213 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.8416, allocations: 103.7 kB / 0.9214 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.855, allocations: 6.874 MB / 0.9281 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.8559, allocations: 20.06 kB / 0.9281 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.856, allocations: 47.92 kB / 0.9281 GB, free: 4.043 MB / 0.7012 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.00048/0.8565, allocations: 209.6 kB / 0.9283 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.8568, allocations: 83.48 kB / 0.9284 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005466/0.8623, allocations: 1.729 MB / 0.9301 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.8623, allocations: 4 kB / 0.9301 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.8623, allocations: 4 kB / 0.9301 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.8623, allocations: 0 / 0.9301 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00655/0.8689, allocations: 2.397 MB / 0.9325 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8689, allocations: 0 / 0.9325 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.8693, allocations: 91.81 kB / 0.9325 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003475/0.8728, allocations: 0.8022 MB / 0.9333 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.8729, allocations: 16 kB / 0.9333 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007367/0.8802, allocations: 4.592 MB / 0.9378 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.8802, allocations: 5.125 kB / 0.9378 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005608/0.8858, allocations: 2.142 MB / 0.9399 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005825/0.8864, allocations: 167.4 kB / 0.9401 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.8866, allocations: 19.98 kB / 0.9401 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006839/0.8873, allocations: 23.92 kB / 0.9401 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.8875, allocations: 64.28 kB / 0.9402 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.8876, allocations: 19.98 kB / 0.9402 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007643/0.8883, allocations: 0.4951 MB / 0.9407 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8883, allocations: 0 / 0.9407 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001124/0.8895, allocations: 291.8 kB / 0.941 GB, free: 6.539 MB / 0.7169 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.00626/0.8957, allocations: 2.777 MB / 0.9437 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003784/0.8995, allocations: 1.406 MB / 0.9451 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.8995, allocations: 0 / 0.9451 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.9015, allocations: 0.8635 MB / 0.9459 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.9038, allocations: 461.8 kB / 0.9463 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03249/0.9363, allocations: 10.45 MB / 0.9565 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.9369, allocations: 389.3 kB / 0.9569 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007578/0.9376, allocations: 162.6 kB / 0.9571 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.9381, allocations: 283.3 kB / 0.9573 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.9381, allocations: 0 / 0.9573 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08477/1.023, allocations: 32.95 MB / 0.9895 GB, free: 5.043 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.45, allocations: 1.719 kB / 0.9895 GB, free: 5.043 MB / 0.7637 GB " [Timeout remaining time 646] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.210395771078765] Failed to read output from testmodel.py, exit status != 0: 13.583541051950306 13.600075073 12.818827557 Calling exit ...