Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.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.0008427/0.0008427, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008573/0.0008573, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8951/0.8951, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5427/0.5427, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.298e-05, allocations: 14.22 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002049/0.002062, allocations: 1.364 MB / 0.5555 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.002168, allocations: 39.81 kB / 0.5556 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.002209, allocations: 0 / 0.5556 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.002351, allocations: 15.86 kB / 0.5556 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.62e-05/0.002447, allocations: 15.92 kB / 0.5556 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.00245, allocations: 0 / 0.5556 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.206e-05/0.002502, allocations: 15.88 kB / 0.5556 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.002539, allocations: 0 / 0.5556 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.00258, allocations: 15.98 kB / 0.5556 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.002619, allocations: 0 / 0.5556 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.002638, allocations: 4 kB / 0.5556 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.913e-05/0.002687, allocations: 11.92 kB / 0.5556 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.002734, allocations: 11.92 kB / 0.5556 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.002753, allocations: 4 kB / 0.5556 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.041e-05/0.002843, allocations: 23.92 kB / 0.5557 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002845, allocations: 0 / 0.5557 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002846, allocations: 0 / 0.5557 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.002849, allocations: 0 / 0.5557 GB, free: 1.254 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002383/0.003087, allocations: 260.6 kB / 0.5559 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.003124, allocations: 12.62 kB / 0.5559 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.003177, allocations: 30.75 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.912e-05/0.003196, allocations: 4.891 kB / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.003335, allocations: 113.8 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.003346, allocations: 8.375 kB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.003354, allocations: 4.312 kB / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.538e-05/0.003439, allocations: 34.27 kB / 0.5561 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.003446, allocations: 192 / 0.5561 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.003454, allocations: 384 / 0.5561 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.003473, allocations: 16.05 kB / 0.5561 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.003491, allocations: 0 / 0.5561 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.00373, allocations: 212 kB / 0.5563 GB, free: 472 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.89e-05/0.003769, allocations: 22.55 kB / 0.5564 GB, free: 440 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.003782, allocations: 4.859 kB / 0.5564 GB, free: 432 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.003802, allocations: 12.03 kB / 0.5564 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.00382, allocations: 34.5 kB / 0.5564 GB, free: 376 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.00382, allocations: 4 kB / 0.5564 GB, free: 372 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.003937, allocations: 33.7 kB / 0.5564 GB, free: 332 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.003967, allocations: 55.41 kB / 0.5565 GB, free: 264 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.00403, allocations: 113.8 kB / 0.5566 GB, free: 140 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.004039, allocations: 29.64 kB / 0.5566 GB, free: 104 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.004074, allocations: 88.12 kB / 0.5567 GB, free: 12 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.004086, allocations: 7.953 kB / 0.5567 GB, free: 4 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.004119, allocations: 9.719 kB / 0.5567 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.004202, allocations: 318.8 kB / 0.557 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.004211, allocations: 128 / 0.557 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.004217, allocations: 8 kB / 0.557 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.702e-05/0.004235, allocations: 8.859 kB / 0.557 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004236, allocations: 0 / 0.557 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.933e-05/0.004276, allocations: 41.62 kB / 0.5571 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.004288, allocations: 4 kB / 0.5571 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.004293, allocations: 7.938 kB / 0.5571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.004304, allocations: 0 / 0.5571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.271e-05/0.004346, allocations: 0 / 0.5571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.004352, allocations: 0 / 0.5571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-06/0.004361, allocations: 4.094 kB / 0.5571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.004367, allocations: 4 kB / 0.5571 GB, free: 15.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.168e-05/0.004419, allocations: 109.8 kB / 0.5572 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.004435, allocations: 15.89 kB / 0.5572 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.534e-05/0.0045, allocations: 37.42 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.004501, allocations: 0 / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.00451, allocations: 7.984 kB / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.004512, allocations: 0 / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.004613, allocations: 120.8 kB / 0.5574 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.004614, allocations: 0 / 0.5574 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.004626, allocations: 8.016 kB / 0.5574 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.004628, allocations: 7.938 kB / 0.5574 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.004634, allocations: 4 kB / 0.5574 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.004635, allocations: 0 / 0.5574 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.004636, allocations: 3.938 kB / 0.5574 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.469e-05/0.004701, allocations: 127.6 kB / 0.5575 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.00471, allocations: 15.86 kB / 0.5575 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.004718, allocations: 0 / 0.5575 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.00474, allocations: 0 / 0.5575 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.00475, allocations: 0 / 0.5575 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.004752, allocations: 4.031 kB / 0.5575 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.004788, allocations: 99.19 kB / 0.5576 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.004788, allocations: 0 / 0.5576 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001443/0.004932, allocations: 7.953 kB / 0.5576 GB, free: 14.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0003178/0.00525, allocations: 0.681 MB / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.271e-05/0.005303, allocations: 8.031 kB / 0.5583 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005304, allocations: 4 kB / 0.5583 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.005308, allocations: 0 / 0.5583 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.005461, allocations: 10.67 kB / 0.5583 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.006134, allocations: 1.171 MB / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.721e-05/0.006181, allocations: 63.34 kB / 0.5595 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.006208, allocations: 4 kB / 0.5595 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.006237, allocations: 12.66 kB / 0.5596 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of SimCode: time 6.12e-07/0.006238, allocations: 4 kB / 0.5596 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.02212, allocations: 2.027 MB / 0.5615 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/7.467, allocations: 9.578 kB / 0.5615 GB, free: 10.98 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.022753905504942] Failed to read output from testmodel.py, exit status != 0: 7.547573168762028 7.556578174 7.551775325 Calling exit ...