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.005803/0.005803, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001154/0.001154, allocations: 195.3 kB / 16.67 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.776/2.776, allocations: 437 MB / 0.7105 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 75.88 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2934, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002827/0.2962, allocations: 1.369 MB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.2964, allocations: 39.88 kB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.2965, allocations: 7.938 kB / 1.168 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.2967, allocations: 7.922 kB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2968, allocations: 11.94 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.697e-06/0.2968, allocations: 7.938 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.2969, allocations: 23.92 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.2969, allocations: 7.922 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.562e-05/0.2969, allocations: 4 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.297, allocations: 15.92 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.297, allocations: 0 / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/0.2971, allocations: 8 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.2971, allocations: 8 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.2971, allocations: 3.938 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2972, allocations: 36.11 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2972, allocations: 4 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2972, allocations: 0 / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2973, allocations: 0 / 1.168 GB, free: 5.746 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.0003281/0.2976, allocations: 339.3 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.2977, allocations: 8.031 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.2977, allocations: 30.75 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.2977, allocations: 4.938 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.2979, allocations: 180.3 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.2979, allocations: 384 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.2979, allocations: 384 / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.857e-05/0.298, allocations: 42.19 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.298, allocations: 3.938 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.298, allocations: 3.984 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.2981, allocations: 0 / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.2981, allocations: 4 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.2982, allocations: 157.7 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.2983, allocations: 14.58 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.2983, allocations: 16.86 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2983, allocations: 0 / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2984, allocations: 34.55 kB / 1.168 GB, free: 4.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2984, allocations: 0 / 1.168 GB, free: 4.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.2985, allocations: 41.64 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.2985, allocations: 51.41 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2986, allocations: 117.8 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2987, allocations: 29.83 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.2987, allocations: 80.14 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.2987, allocations: 7.953 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.2988, allocations: 17.7 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2989, allocations: 314.8 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.2989, allocations: 0 / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-06/0.2989, allocations: 4 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.2989, allocations: 12.92 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.299, allocations: 7.938 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.929e-05/0.299, allocations: 37.69 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.299, allocations: 7.938 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2991, allocations: 7.938 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2991, allocations: 0 / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.2991, allocations: 4 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2991, allocations: 320 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.2991, allocations: 3.938 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.2992, allocations: 0 / 1.169 GB, free: 3.957 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.208e-05/0.2992, allocations: 117.9 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.2993, allocations: 11.88 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.2993, allocations: 41.23 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2994, allocations: 0 / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2994, allocations: 0 / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2994, allocations: 0 / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.2995, allocations: 157.7 kB / 1.169 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2995, allocations: 0 / 1.169 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/0.2995, allocations: 4 kB / 1.169 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2995, allocations: 7.969 kB / 1.169 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.2995, allocations: 0 / 1.169 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2995, allocations: 0 / 1.169 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.2995, allocations: 3.984 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.82e-05/0.2996, allocations: 65.06 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.2997, allocations: 81.11 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2997, allocations: 3.938 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.2997, allocations: 0 / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-06/0.2997, allocations: 4.031 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2997, allocations: 3.984 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.152e-05/0.2998, allocations: 91.27 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2998, allocations: 4 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002017/0.3, allocations: 3.953 kB / 1.17 GB, free: 3.262 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.0004231/0.3004, allocations: 0.6163 MB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.548e-05/0.3005, allocations: 11.92 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3005, allocations: 0 / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.357e-06/0.3005, allocations: 4 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.3007, allocations: 3.938 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.3016, allocations: 1.11 MB / 1.171 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3019, allocations: 0.6768 MB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.522e-05/0.3019, allocations: 4 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.302, allocations: 11.44 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.302, allocations: 0 / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.3188, allocations: 1.405 MB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.281, allocations: 15.83 kB / 1.174 GB, free: 15.37 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)