Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.01005/0.01005, allocations: 95.05 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002457/0.002458, allocations: 205.5 kB / 16.68 MB, free: 5.969 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.58/1.58, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.734/2.734, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3126, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002896/0.3156, allocations: 1.379 MB / 1.167 GB, free: 5.941 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001742/0.3158, allocations: 39.83 kB / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.3158, allocations: 0 / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.316, allocations: 11.92 kB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3162, allocations: 19.86 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.3162, allocations: 0 / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.3163, allocations: 16 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.3164, allocations: 11.92 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.3164, allocations: 4 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.3165, allocations: 19.86 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3165, allocations: 0 / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-05/0.3166, allocations: 8 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.3166, allocations: 7.984 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.3167, allocations: 7.938 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.3168, allocations: 36.11 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3168, allocations: 0 / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3168, allocations: 0 / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3168, allocations: 4 kB / 1.168 GB, free: 5.758 MB / 0.92 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.0004176/0.3173, allocations: 339.3 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3173, allocations: 8.031 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.3174, allocations: 34.69 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.3174, allocations: 4.938 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3176, allocations: 180.3 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3176, allocations: 384 / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-06/0.3176, allocations: 384 / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.3177, allocations: 34.2 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3178, allocations: 7.938 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.3178, allocations: 0 / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.3178, allocations: 0 / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.3178, allocations: 7.984 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.318, allocations: 153.7 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.278e-05/0.3181, allocations: 18.58 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.3181, allocations: 8.922 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3181, allocations: 4 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3182, allocations: 34.5 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3182, allocations: 0 / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001555/0.3183, allocations: 41.64 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3184, allocations: 55.39 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3185, allocations: 117.8 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3185, allocations: 29.7 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.3186, allocations: 80.27 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.3186, allocations: 7.953 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.3186, allocations: 17.72 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.3187, allocations: 310.8 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.3187, allocations: 3.984 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.3188, allocations: 4 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.3188, allocations: 16.8 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3188, allocations: 0 / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.627e-05/0.3189, allocations: 37.77 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3189, allocations: 7.938 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3189, allocations: 3.938 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3189, allocations: 0 / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.319, allocations: 7.984 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.319, allocations: 0 / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.319, allocations: 4 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.319, allocations: 0 / 1.169 GB, free: 3.973 MB / 0.92 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.145e-05/0.3191, allocations: 113.8 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.3191, allocations: 11.92 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.893e-05/0.3192, allocations: 53.09 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3192, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3192, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3193, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.3194, allocations: 157.7 kB / 1.169 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3194, allocations: 0 / 1.169 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.3194, allocations: 4 kB / 1.169 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3194, allocations: 3.938 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3194, allocations: 3.984 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3194, allocations: 4.031 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3194, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.667e-05/0.3195, allocations: 65.06 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.3196, allocations: 77.11 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3196, allocations: 11.92 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.3196, allocations: 0 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.3196, allocations: 0 / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3196, allocations: 4.031 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.3197, allocations: 87.28 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3197, allocations: 0 / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002077/0.3199, allocations: 11.94 kB / 1.17 GB, free: 3.27 MB / 0.92 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.0003998/0.3203, allocations: 0.6124 MB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.3204, allocations: 7.938 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3204, allocations: 0 / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.3204, allocations: 4 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.3206, allocations: 3.938 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.3215, allocations: 1.106 MB / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3217, allocations: 0.6807 MB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.799e-05/0.3217, allocations: 11.92 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.3218, allocations: 11.44 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of SimCode: time 4.21e-07/0.3218, allocations: 0 / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.3386, allocations: 1.394 MB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.561, allocations: 19.31 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)