Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.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.0009438/0.0009438, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008736/0.0008736, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.9708/0.9708, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5823/0.5823, allocations: 110.2 MB / 369.4 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.ClosedDoors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.5473 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.167e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.6011/0.6012, allocations: 193.3 MB / 0.736 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02534/0.6265, allocations: 18.93 MB / 0.7545 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.629, allocations: 75.16 kB / 0.7546 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.6317, allocations: 1.194 MB / 0.7558 GB, free: 38.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009891/0.6416, allocations: 4.359 MB / 0.76 GB, free: 36.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00414/0.6457, allocations: 1.607 MB / 0.7616 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007776/0.6535, allocations: 7.162 MB / 0.7686 GB, free: 32.55 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.6559, allocations: 1.804 MB / 0.7703 GB, free: 31.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/0.6602, allocations: 3.327 MB / 0.7736 GB, free: 30.31 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.6634, allocations: 2.334 MB / 0.7759 GB, free: 29.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.6638, allocations: 344.6 kB / 0.7762 GB, free: 29.58 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006557/0.6704, allocations: 2.953 MB / 0.7791 GB, free: 28.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.6716, allocations: 1.552 MB / 0.7806 GB, free: 27.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001889/0.6735, allocations: 1.379 MB / 0.7819 GB, free: 27.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007308/0.6808, allocations: 6.165 MB / 0.788 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.6808, allocations: 0 / 0.788 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6808, allocations: 0 / 0.788 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.379e-05/0.6809, allocations: 0 / 0.788 GB, free: 25.29 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.005892/0.6868, allocations: 3.943 MB / 0.7918 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.6869, allocations: 12.97 kB / 0.7918 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003597/0.6872, allocations: 386.6 kB / 0.7922 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.6896, allocations: 0.8535 MB / 0.793 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.692, allocations: 1.885 MB / 0.7949 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.835e-05/0.6921, allocations: 198.5 kB / 0.7951 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.6924, allocations: 280.1 kB / 0.7953 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/0.6961, allocations: 3.657 MB / 0.7989 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.6962, allocations: 4.062 kB / 0.7989 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.6964, allocations: 112.8 kB / 0.799 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.008e-05/0.6965, allocations: 122.9 kB / 0.7991 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004688/0.7012, allocations: 4.56 MB / 0.8036 GB, free: 18.62 MB / 0.6355 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.008423/0.7096, allocations: 7.574 MB / 0.811 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.7134, allocations: 4.521 MB / 0.8154 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.7155, allocations: 2.285 MB / 0.8176 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.716, allocations: 171.9 kB / 0.8178 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.716, allocations: 88.59 kB / 0.8179 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=399): time 5.942e-06/0.716, allocations: 0 / 0.8179 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=399): time 0.006406/0.7224, allocations: 5.808 MB / 0.8235 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.7225, allocations: 91.58 kB / 0.8236 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.7236, allocations: 1.241 MB / 0.8248 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.7237, allocations: 93.7 kB / 0.8249 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.724, allocations: 0.823 MB / 0.8257 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/0.7245, allocations: 1.386 MB / 0.8271 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004934/0.725, allocations: 0.543 MB / 0.8276 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.248e-05/0.7251, allocations: 305.1 kB / 0.8279 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.7265, allocations: 1.599 MB / 0.8295 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.7281, allocations: 1.912 MB / 0.8313 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.7321, allocations: 3.839 MB / 0.8351 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.7321, allocations: 0 / 0.8351 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.004528/0.7367, allocations: 4.195 MB / 0.8392 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.7367, allocations: 8.391 kB / 0.8392 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.7367, allocations: 8 kB / 0.8392 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.7367, allocations: 20 kB / 0.8392 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.7383, allocations: 0.6762 MB / 0.8399 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-05/0.7383, allocations: 22.62 kB / 0.8399 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.7395, allocations: 246 kB / 0.8401 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.7396, allocations: 119.9 kB / 0.8403 GB, free: 6.707 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009252/0.7405, allocations: 0.7326 MB / 0.841 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.7408, allocations: 253.1 kB / 0.8412 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004994/0.7458, allocations: 4.637 MB / 0.8457 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.7459, allocations: 36 kB / 0.8458 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.7459, allocations: 0 / 0.8458 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004295/0.7502, allocations: 3.955 MB / 0.8496 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00896/0.7591, allocations: 7.697 MB / 0.8572 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.7591, allocations: 6.5 kB / 0.8572 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.7607, allocations: 0.6517 MB / 0.8578 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.761, allocations: 145.1 kB / 0.8579 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/0.7612, allocations: 83.97 kB / 0.858 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/0.7643, allocations: 4.706 MB / 0.8626 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7644, allocations: 3.938 kB / 0.8626 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007317/0.7717, allocations: 6.827 MB / 0.8693 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.7727, allocations: 0.7044 MB / 0.87 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.7729, allocations: 68 kB / 0.87 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008928/0.7738, allocations: 87.92 kB / 0.8701 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/0.7741, allocations: 242.7 kB / 0.8703 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.7743, allocations: 108 kB / 0.8704 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008565/0.7751, allocations: 0.8645 MB / 0.8713 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7751, allocations: 2.531 kB / 0.8713 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001853/0.777, allocations: 1.077 MB / 0.8723 GB, free: 5.363 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007781/0.7847, allocations: 7.625 MB / 0.8798 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004359/0.7891, allocations: 3.821 MB / 0.8835 GB, free: 9.926 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7891, allocations: 4 kB / 0.8835 GB, free: 9.922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002299/0.7914, allocations: 2.36 MB / 0.8858 GB, free: 7.598 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.794, allocations: 1.075 MB / 0.8869 GB, free: 6.539 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/0.8192, allocations: 22.92 MB / 0.9093 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.8203, allocations: 1.362 MB / 0.9106 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002214/0.8225, allocations: 1.223 MB / 0.9118 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.8236, allocations: 1.09 MB / 0.9129 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of SimCode: time 1.283e-06/0.8236, allocations: 3.938 kB / 0.9129 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3804/1.204, allocations: 71.67 MB / 0.9828 GB, free: 292.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/13.09, allocations: 0 / 0.9828 GB, free: 292.6 MB / 0.7761 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.073223816230893] Failed to read output from testmodel.py, exit status != 0: 13.21566595043987 13.227055882 12.54420973 Calling exit ...