Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.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.001803/0.001803, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002327/0.002327, allocations: 216.2 kB / 22.25 MB, free: 5.082 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.354/3.354, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002094/0.002094, allocations: 72.78 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3699, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003108/0.373, allocations: 1.525 MB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3749, allocations: 1.232 MB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.375, allocations: 4 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.3753, allocations: 15.88 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.3755, allocations: 43.77 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3757, allocations: 70.39 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.3759, allocations: 151.5 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.3761, allocations: 33.52 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3762, allocations: 83.81 kB / 1.356 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.3764, allocations: 59.64 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.3765, allocations: 12 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.092e-05/0.3766, allocations: 31.98 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.3767, allocations: 43.83 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3768, allocations: 75.58 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.3771, allocations: 203.2 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3771, allocations: 0 / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3771, allocations: 0 / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.3771, allocations: 4 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007805/0.3779, allocations: 417.3 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3779, allocations: 12.03 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.615e-05/0.378, allocations: 46.67 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.3781, allocations: 24.73 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.3784, allocations: 206.1 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.3786, allocations: 218.2 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3787, allocations: 8.375 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.379, allocations: 157.5 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.379, allocations: 11.98 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.3791, allocations: 0 / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.3791, allocations: 12 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.3792, allocations: 39.97 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.3804, allocations: 431.5 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.302e-05/0.3805, allocations: 34.58 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.3805, allocations: 24.84 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.3806, allocations: 4 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.3806, allocations: 42.55 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3806, allocations: 0 / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0003514/0.381, allocations: 105.7 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.381, allocations: 63.34 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3813, allocations: 207.8 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.3814, allocations: 33.7 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3815, allocations: 128.1 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3815, allocations: 23.81 kB / 1.358 GB, free: 2.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.3816, allocations: 33.7 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.3818, allocations: 326.8 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.255e-05/0.3818, allocations: 27.97 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3819, allocations: 102.2 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3821, allocations: 138.1 kB / 1.359 GB, free: 1.777 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3821, allocations: 8 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002701/0.3824, allocations: 153.3 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3824, allocations: 8 kB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3824, allocations: 0 / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3825, allocations: 4 kB / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3826, allocations: 28.3 kB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.3826, allocations: 11.94 kB / 1.359 GB, free: 1.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.3827, allocations: 7.938 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3827, allocations: 4 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001493/0.3828, allocations: 149.8 kB / 1.359 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.3829, allocations: 15.91 kB / 1.359 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.3831, allocations: 114.9 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3832, allocations: 3.984 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3832, allocations: 3.938 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3832, allocations: 4 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.3834, allocations: 200.6 kB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3834, allocations: 0 / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.3835, allocations: 19.92 kB / 1.36 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3835, allocations: 4 kB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3835, allocations: 0 / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3835, allocations: 0 / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3835, allocations: 3.938 kB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.3837, allocations: 187.8 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.3838, allocations: 23.88 kB / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.3838, allocations: 0 / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.384, allocations: 19.98 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.3841, allocations: 7.922 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.3841, allocations: 15.98 kB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001668/0.3843, allocations: 161.5 kB / 1.36 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3843, allocations: 0 / 1.36 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003189/0.3846, allocations: 35.89 kB / 1.36 GB, free: 0.5195 MB / 1.045 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 (8): * Single equations (assignments): 8 * 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.0007608/0.3853, allocations: 0.754 MB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.3855, allocations: 75.83 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3855, allocations: 3.984 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.3856, allocations: 23.94 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.3859, allocations: 23.92 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.3883, allocations: 1.906 MB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.3888, allocations: 0.7352 MB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.3889, allocations: 56.88 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/0.389, allocations: 47.41 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of SimCode: time 9.52e-07/0.389, allocations: 0 / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.4246, allocations: 4.378 MB / 1.368 GB, free: 8.477 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.8, allocations: 9.078 kB / 1.368 GB, free: 8.469 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.788686773000336] Failed to read output from testmodel.py, exit status != 0: 11.901385113999822 11.916919514 11.536628517 Calling exit ...