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.001502/0.001502, allocations: 110.4 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.001824/0.001824, allocations: 218.4 kB / 22.25 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.988 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.9153/0.9153, allocations: 145 MB / 457.4 MB, free: 15.55 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.001974/0.001974, allocations: 70.7 kB / 0.6332 GB, free: 7.32 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.165, allocations: 87.88 MB / 0.719 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5491/0.7141, allocations: 196.7 MB / 0.9111 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007659/0.7218, allocations: 4.053 MB / 0.9151 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007478/0.7225, allocations: 27.81 kB / 0.9151 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.7241, allocations: 489 kB / 0.9156 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.7282, allocations: 1.609 MB / 0.9171 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.7323, allocations: 1.426 MB / 0.9185 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002981/0.7353, allocations: 1.647 MB / 0.9201 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.7368, allocations: 0.8343 MB / 0.921 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.7389, allocations: 0.9619 MB / 0.9219 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.7407, allocations: 0.919 MB / 0.9228 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003031/0.741, allocations: 107.9 kB / 0.9229 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.7439, allocations: 1.411 MB / 0.9243 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006484/0.7446, allocations: 374.8 kB / 0.9246 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009063/0.7455, allocations: 0.5134 MB / 0.9251 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.7488, allocations: 1.721 MB / 0.9268 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.7488, allocations: 0 / 0.9268 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7488, allocations: 0 / 0.9268 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.325e-05/0.7488, allocations: 0 / 0.9268 GB, free: 8.508 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.00324/0.7521, allocations: 1.189 MB / 0.928 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7521, allocations: 8.031 kB / 0.928 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.7522, allocations: 98.5 kB / 0.9281 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.7539, allocations: 247.2 kB / 0.9283 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.755, allocations: 0.5576 MB / 0.9289 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.755, allocations: 37 kB / 0.9289 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.7551, allocations: 52 kB / 0.9289 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.7569, allocations: 0.996 MB / 0.9299 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.757, allocations: 11.94 kB / 0.9299 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/0.757, allocations: 24 kB / 0.9299 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.7571, allocations: 23.98 kB / 0.93 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.7588, allocations: 1.007 MB / 0.931 GB, free: 4.125 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.006118/0.7649, allocations: 4.095 MB / 0.9349 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.766, allocations: 0.5626 MB / 0.9355 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008878/0.7669, allocations: 485.8 kB / 0.936 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007894/0.7677, allocations: 148.2 kB / 0.9361 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.7678, allocations: 39 kB / 0.9361 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002419/0.7702, allocations: 0.636 MB / 0.9368 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=50): time 3.717e-06/0.7702, allocations: 4 kB / 0.9368 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50): time 0.01768/0.7878, allocations: 3.664 MB / 0.9403 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.7879, allocations: 63.72 kB / 0.9404 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.789, allocations: 0.7078 MB / 0.9411 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.7891, allocations: 37.7 kB / 0.9411 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.7893, allocations: 328.8 kB / 0.9414 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.7895, allocations: 182.4 kB / 0.9416 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.7898, allocations: 150 kB / 0.9418 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.79, allocations: 326 kB / 0.9421 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.7908, allocations: 396.8 kB / 0.9425 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008241/0.7916, allocations: 480.9 kB / 0.9429 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.7932, allocations: 0.9258 MB / 0.9438 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7932, allocations: 0 / 0.9438 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01146/0.8047, allocations: 2.561 MB / 0.9463 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.8047, allocations: 4 kB / 0.9463 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.8047, allocations: 4 kB / 0.9463 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00973/0.8145, allocations: 1.73 MB / 0.948 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.8149, allocations: 95.8 kB / 0.9481 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.8286, allocations: 6.941 MB / 0.9549 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/0.8294, allocations: 15.98 kB / 0.9549 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.8295, allocations: 47.92 kB / 0.9549 GB, free: 10.99 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.0003828/0.8299, allocations: 213.6 kB / 0.9551 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.8301, allocations: 87.44 kB / 0.9552 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005307/0.8354, allocations: 1.715 MB / 0.9569 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.577e-06/0.8355, allocations: 12 kB / 0.9569 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.8355, allocations: 4 kB / 0.9569 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.8355, allocations: 3.984 kB / 0.9569 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/0.8416, allocations: 2.51 MB / 0.9594 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.8417, allocations: 4 kB / 0.9594 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.8421, allocations: 91.83 kB / 0.9595 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003374/0.8455, allocations: 0.8026 MB / 0.9603 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.8456, allocations: 23.92 kB / 0.9603 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007194/0.8527, allocations: 4.642 MB / 0.9648 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.8528, allocations: 0 / 0.9648 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00548/0.8582, allocations: 2.146 MB / 0.9669 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/0.8587, allocations: 155.4 kB / 0.967 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.8588, allocations: 12 kB / 0.9671 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005975/0.8594, allocations: 27.98 kB / 0.9671 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.8596, allocations: 60.27 kB / 0.9671 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.8597, allocations: 20 kB / 0.9672 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006638/0.8603, allocations: 0.499 MB / 0.9677 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8603, allocations: 3.938 kB / 0.9677 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001066/0.8614, allocations: 287.8 kB / 0.9679 GB, free: 13.33 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.005916/0.8673, allocations: 2.792 MB / 0.9707 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.8709, allocations: 1.406 MB / 0.972 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8709, allocations: 4 kB / 0.972 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.8727, allocations: 0.8601 MB / 0.9729 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.8749, allocations: 468.2 kB / 0.9733 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03125/0.9061, allocations: 10.44 MB / 0.9835 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007872/0.9069, allocations: 0.9789 MB / 0.9845 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006135/0.9075, allocations: 166.6 kB / 0.9846 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.9079, allocations: 283.3 kB / 0.9849 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of SimCode: time 2.224e-06/0.9079, allocations: 0 / 0.9849 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08438/0.9923, allocations: 30.5 MB / 1.015 GB, free: 13.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.23, allocations: 7.25 kB / 1.015 GB, free: 13.49 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.818078611046076] Failed to read output from testmodel.py, exit status != 0: 14.353306792210788 14.368673711 13.616538504 Calling exit ...