Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 195.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.656/2.656, allocations: 469.4 MB / 0.742 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.53 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2608, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002871/0.2637, allocations: 1.356 MB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.2639, allocations: 35.83 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.2639, allocations: 0 / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2641, allocations: 15.91 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2643, allocations: 15.94 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.2643, allocations: 0 / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.129e-05/0.2643, allocations: 15.92 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.2644, allocations: 8 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.549e-05/0.2644, allocations: 3.938 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.2645, allocations: 11.92 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2645, allocations: 0 / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-05/0.2645, allocations: 12 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.2646, allocations: 7.984 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.2646, allocations: 7.875 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.012e-05/0.2647, allocations: 27.92 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2647, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2647, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.2647, allocations: 4 kB / 1.065 GB, free: 13.03 MB / 0.8262 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.0003017/0.265, allocations: 327.7 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2651, allocations: 8.031 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.2651, allocations: 38.73 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.2652, allocations: 8.844 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2653, allocations: 168.4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-06/0.2653, allocations: 384 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.2654, allocations: 4.375 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.088e-05/0.2654, allocations: 34.25 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.2655, allocations: 3.938 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.2655, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2655, allocations: 7.938 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.2655, allocations: 7.938 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.2658, allocations: 236.9 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.889e-05/0.2658, allocations: 26.55 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.2658, allocations: 8.859 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.2659, allocations: 4.062 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2659, allocations: 34.55 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2659, allocations: 3.938 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.266, allocations: 41.59 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.2661, allocations: 55.47 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.2662, allocations: 117.8 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.2662, allocations: 25.7 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.2662, allocations: 84.14 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2663, allocations: 4 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.2663, allocations: 13.7 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.2664, allocations: 310.8 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.2664, allocations: 4 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.2664, allocations: 4 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.2665, allocations: 20.8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2665, allocations: 3.938 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.451e-05/0.2665, allocations: 41.59 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.2666, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2666, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2666, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.648e-05/0.2666, allocations: 4 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.2666, allocations: 0 / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.2667, allocations: 4.094 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.2667, allocations: 0 / 1.067 GB, free: 11.17 MB / 0.8262 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 7.22e-05/0.2668, allocations: 118.3 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.2668, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/0.2669, allocations: 45.17 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.2669, allocations: 0 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2669, allocations: 0 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2669, allocations: 3.984 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.2671, allocations: 157.6 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2671, allocations: 4.031 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.2671, allocations: 7.938 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2671, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.2671, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2671, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2671, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.2672, allocations: 143.3 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.2673, allocations: 81.11 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2673, allocations: 4.031 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.2673, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-06/0.2673, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.2673, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.2674, allocations: 91.27 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2674, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002405/0.2677, allocations: 11.94 kB / 1.067 GB, free: 10.41 MB / 0.8262 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.0004435/0.2681, allocations: 0.6915 MB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.598e-05/0.2682, allocations: 7.938 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2682, allocations: 0 / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.2682, allocations: 12.08 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2684, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009354/0.2694, allocations: 1.179 MB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.2696, allocations: 0.6768 MB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.34e-05/0.2697, allocations: 4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.2697, allocations: 15.42 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2697, allocations: 0 / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.2857, allocations: 1.351 MB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.54, allocations: 15 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.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 Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)