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.001331/0.001331, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001697/0.001697, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.984 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.9185/0.9185, allocations: 145 MB / 457.4 MB, free: 15.96 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.002403/0.002403, allocations: 70.42 kB / 0.6332 GB, free: 7.355 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1765, allocations: 87.88 MB / 0.719 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.6096/0.7861, allocations: 196.7 MB / 0.9111 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007581/0.7937, allocations: 4.049 MB / 0.9151 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.7947, allocations: 31.75 kB / 0.9151 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.7964, allocations: 489 kB / 0.9156 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004481/0.8008, allocations: 1.61 MB / 0.9171 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004204/0.805, allocations: 1.427 MB / 0.9185 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002995/0.808, allocations: 1.639 MB / 0.9201 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.8096, allocations: 0.8382 MB / 0.9209 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.812, allocations: 0.9657 MB / 0.9219 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.8139, allocations: 0.9151 MB / 0.9228 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.8143, allocations: 100 kB / 0.9229 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.8177, allocations: 1.418 MB / 0.9243 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006555/0.8184, allocations: 366.9 kB / 0.9246 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009286/0.8193, allocations: 0.5211 MB / 0.9251 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003961/0.8233, allocations: 1.721 MB / 0.9268 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8233, allocations: 0 / 0.9268 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8233, allocations: 0 / 0.9268 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.707e-05/0.8233, allocations: 0 / 0.9268 GB, free: 8.539 MB / 0.7012 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.003665/0.827, allocations: 1.191 MB / 0.928 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.827, allocations: 8.031 kB / 0.928 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.8272, allocations: 94.5 kB / 0.9281 GB, free: 7.207 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.8291, allocations: 248 kB / 0.9283 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.8305, allocations: 0.5615 MB / 0.9288 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.8305, allocations: 33 kB / 0.9289 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.8307, allocations: 52 kB / 0.9289 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.8327, allocations: 0.9999 MB / 0.9299 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.8327, allocations: 7.938 kB / 0.9299 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/0.8328, allocations: 20 kB / 0.9299 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/0.8328, allocations: 35.98 kB / 0.93 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.8347, allocations: 1.003 MB / 0.9309 GB, free: 4.156 MB / 0.7012 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.006939/0.8416, allocations: 4.102 MB / 0.935 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.8428, allocations: 0.5548 MB / 0.9355 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009039/0.8437, allocations: 486.5 kB / 0.936 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008212/0.8445, allocations: 148.1 kB / 0.9361 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.8446, allocations: 39 kB / 0.9361 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002607/0.8472, allocations: 0.636 MB / 0.9368 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=50): time 6.272e-06/0.8472, allocations: 3.938 kB / 0.9368 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50): time 0.0186/0.8658, allocations: 3.668 MB / 0.9403 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.8658, allocations: 59.78 kB / 0.9404 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.867, allocations: 0.7156 MB / 0.9411 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.8671, allocations: 29.7 kB / 0.9411 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.8675, allocations: 324.8 kB / 0.9414 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.8677, allocations: 190.4 kB / 0.9416 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.868, allocations: 150 kB / 0.9418 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.8681, allocations: 322 kB / 0.9421 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/0.8689, allocations: 392.8 kB / 0.9424 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008328/0.8697, allocations: 488.9 kB / 0.9429 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.8714, allocations: 0.9219 MB / 0.9438 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.8714, allocations: 0 / 0.9438 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01226/0.8837, allocations: 2.561 MB / 0.9463 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.8837, allocations: 4 kB / 0.9463 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.8837, allocations: 4 kB / 0.9463 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.8938, allocations: 1.725 MB / 0.948 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.8943, allocations: 99.73 kB / 0.9481 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/0.9084, allocations: 6.946 MB / 0.9549 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009462/0.9093, allocations: 20.05 kB / 0.9549 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.9094, allocations: 47.92 kB / 0.9549 GB, free: 11.02 MB / 0.7325 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.0004697/0.9099, allocations: 215.1 kB / 0.9552 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.9102, allocations: 87.44 kB / 0.9552 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005497/0.9157, allocations: 1.717 MB / 0.9569 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.9157, allocations: 8 kB / 0.9569 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.9157, allocations: 4 kB / 0.9569 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.9157, allocations: 3.984 kB / 0.9569 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006814/0.9225, allocations: 2.51 MB / 0.9594 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.9225, allocations: 4 kB / 0.9594 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.923, allocations: 91.83 kB / 0.9595 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/0.9266, allocations: 0.794 MB / 0.9602 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.9267, allocations: 19.98 kB / 0.9603 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007534/0.9343, allocations: 4.659 MB / 0.9648 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.9343, allocations: 0 / 0.9648 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00589/0.9401, allocations: 2.138 MB / 0.9669 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/0.9407, allocations: 163.3 kB / 0.9671 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.9409, allocations: 12 kB / 0.9671 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.9415, allocations: 23.98 kB / 0.9671 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.9417, allocations: 60.64 kB / 0.9671 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.9418, allocations: 24 kB / 0.9672 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007289/0.9425, allocations: 0.4912 MB / 0.9677 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9425, allocations: 4 kB / 0.9677 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001133/0.9436, allocations: 287.8 kB / 0.9679 GB, free: 13.36 MB / 0.7481 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.006497/0.9501, allocations: 2.8 MB / 0.9707 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003908/0.9541, allocations: 1.41 MB / 0.972 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.9541, allocations: 4 kB / 0.972 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.9561, allocations: 0.8555 MB / 0.9729 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.9585, allocations: 453.4 kB / 0.9733 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03305/0.9915, allocations: 10.44 MB / 0.9835 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.9922, allocations: 0.9828 MB / 0.9845 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007779/0.993, allocations: 158.6 kB / 0.9846 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.9935, allocations: 283.3 kB / 0.9849 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of SimCode: time 1.432e-06/0.9935, allocations: 0 / 0.9849 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08454/1.078, allocations: 30.51 MB / 1.015 GB, free: 13.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.66, allocations: 6.719 kB / 1.015 GB, free: 13.52 MB / 0.795 GB " [Timeout remaining time 645] (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: 18.541253771996708] Failed to read output from testmodel.py, exit status != 0: 14.793186735001655 14.816708862 13.988368746 Calling exit ...