Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 68.12 kB / 1.107 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7617, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002142/0.7639, allocations: 1.381 MB / 1.273 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001214/0.764, allocations: 33.33 kB / 1.273 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.764, allocations: 4.719 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.7642, allocations: 16.27 kB / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.435e-05/0.7643, allocations: 13.52 kB / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.945e-06/0.7643, allocations: 0.8125 kB / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.7643, allocations: 12.03 kB / 1.273 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.7643, allocations: 6.641 kB / 1.273 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.7644, allocations: 8.531 kB / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.7644, allocations: 17.05 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.7644, allocations: 0.7188 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.251e-05/0.7645, allocations: 11.2 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.7645, allocations: 2.781 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.7645, allocations: 6.125 kB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.255e-05/0.7646, allocations: 28.92 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.7646, allocations: 0.8125 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7646, allocations: 0 / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.7646, allocations: 0.8438 kB / 1.273 GB, free: 6.707 MB / 0.9981 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.000233/0.7648, allocations: 333.5 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.7649, allocations: 13.16 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.7649, allocations: 32.98 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.7649, allocations: 10.7 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.7651, allocations: 167.9 kB / 1.273 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-06/0.7651, allocations: 1.375 kB / 1.273 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-06/0.7651, allocations: 1.156 kB / 1.273 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.306e-05/0.7651, allocations: 41.91 kB / 1.273 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7651, allocations: 7.875 kB / 1.273 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.7652, allocations: 0 / 1.273 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.7652, allocations: 5.641 kB / 1.273 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.7652, allocations: 4.078 kB / 1.273 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.7654, allocations: 239.2 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.7654, allocations: 29.61 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.7654, allocations: 7.016 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.7654, allocations: 0.9062 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.7655, allocations: 36.06 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.7655, allocations: 0 / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001151/0.7656, allocations: 38.94 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.7656, allocations: 51.97 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/0.7657, allocations: 114.4 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-06/0.7657, allocations: 30.55 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.7657, allocations: 86.42 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.7657, allocations: 4.797 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.7657, allocations: 16.86 kB / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.483e-05/0.7657, allocations: 317.4 kB / 1.274 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.7658, allocations: 1.625 kB / 1.274 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.7658, allocations: 2.406 kB / 1.274 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.738e-05/0.7658, allocations: 8.984 kB / 1.274 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7658, allocations: 3.938 kB / 1.274 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.67e-05/0.7658, allocations: 43.03 kB / 1.274 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.7658, allocations: 9.531 kB / 1.274 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.7658, allocations: 4.609 kB / 1.274 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.7659, allocations: 0.9062 kB / 1.274 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.9e-05/0.7659, allocations: 6.281 kB / 1.274 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.7659, allocations: 0 / 1.274 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.14e-05/0.7659, allocations: 0.8438 kB / 1.274 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.7659, allocations: 5.516 kB / 1.274 GB, free: 4.961 MB / 0.9981 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 3.543e-05/0.7659, allocations: 117.1 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.766, allocations: 2.297 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.638e-05/0.766, allocations: 42.39 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.766, allocations: 0.875 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.766, allocations: 0.6562 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.766, allocations: 0.8125 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.656e-05/0.7661, allocations: 159.3 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7661, allocations: 0 / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.7662, allocations: 1.75 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7662, allocations: 0.75 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.7662, allocations: 0.8438 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.7662, allocations: 0.8438 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7662, allocations: 11.91 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.543e-05/0.7662, allocations: 138.2 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.7662, allocations: 78.55 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.7662, allocations: 1.484 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.7663, allocations: 0.875 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.7663, allocations: 0.5156 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.7663, allocations: 1.625 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.7663, allocations: 93.97 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7663, allocations: 0.7812 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002034/0.7665, allocations: 7.672 kB / 1.275 GB, free: 4.27 MB / 0.9981 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.0002909/0.7668, allocations: 0.6888 MB / 1.276 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.45e-05/0.7669, allocations: 5.094 kB / 1.276 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7669, allocations: 0.8438 kB / 1.276 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.7669, allocations: 2.578 kB / 1.276 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.7671, allocations: 2.516 kB / 1.276 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.7678, allocations: 1.187 MB / 1.277 GB, free: 18.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.768, allocations: 0.688 MB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.59e-05/0.7681, allocations: 3.25 kB / 1.278 GB, free: 17.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.7681, allocations: 9.844 kB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7681, allocations: 0 / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.7915, allocations: 1.377 MB / 1.279 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/8.015, allocations: 7.719 kB / 1.279 GB, free: 17.29 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 13.264772864000406]