Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IBPSA_latest_IBPSA_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.00108/0.00108, allocations: 104.7 kB / 16.27 MB, free: 5.984 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.001083/0.001084, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.265/1.265, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 55.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.316, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002224/0.3182, allocations: 1.358 MB / 0.5686 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.3184, allocations: 36.83 kB / 0.5686 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.3184, allocations: 5.719 kB / 0.5686 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.3186, allocations: 16.66 kB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.989e-05/0.3187, allocations: 12.83 kB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.636e-06/0.3187, allocations: 0 / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.791e-05/0.3187, allocations: 18.08 kB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.3188, allocations: 3.219 kB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.3188, allocations: 8.266 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.3188, allocations: 13.27 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3189, allocations: 1.031 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.3189, allocations: 10.12 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.3189, allocations: 14.09 kB / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.319, allocations: 5.969 kB / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.105e-05/0.3191, allocations: 30.05 kB / 0.5688 GB, free: 31.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3191, allocations: 0.6562 kB / 0.5688 GB, free: 31.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3191, allocations: 1.5 kB / 0.5688 GB, free: 31.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.3191, allocations: 0 / 0.5688 GB, free: 31.65 MB / 446.1 MB 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.0002198/0.3193, allocations: 333.8 kB / 0.5691 GB, free: 31.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3194, allocations: 13.36 kB / 0.5691 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.03e-05/0.3194, allocations: 34.73 kB / 0.5691 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.3194, allocations: 7.875 kB / 0.5691 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3195, allocations: 176.3 kB / 0.5693 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.3196, allocations: 384 / 0.5693 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.3196, allocations: 1.5 kB / 0.5693 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.633e-05/0.3196, allocations: 35.39 kB / 0.5694 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.3197, allocations: 9.562 kB / 0.5694 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.3197, allocations: 0 / 0.5694 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.3197, allocations: 1.547 kB / 0.5694 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.3197, allocations: 3.656 kB / 0.5694 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.3198, allocations: 154.7 kB / 0.5695 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.443e-05/0.3199, allocations: 21.39 kB / 0.5695 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.3199, allocations: 8.484 kB / 0.5695 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3199, allocations: 4.547 kB / 0.5695 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3199, allocations: 34.62 kB / 0.5696 GB, free: 30.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3199, allocations: 0 / 0.5696 GB, free: 30.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000123/0.3201, allocations: 46.42 kB / 0.5696 GB, free: 30.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.3201, allocations: 52.44 kB / 0.5697 GB, free: 30.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.3202, allocations: 118.6 kB / 0.5698 GB, free: 30.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.3202, allocations: 25.7 kB / 0.5698 GB, free: 30.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.3202, allocations: 82.2 kB / 0.5699 GB, free: 30.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.3202, allocations: 3.938 kB / 0.5699 GB, free: 30.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.3203, allocations: 18.31 kB / 0.5699 GB, free: 30.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.3203, allocations: 314.1 kB / 0.5702 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.3203, allocations: 6.844 kB / 0.5702 GB, free: 30.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.3203, allocations: 2.062 kB / 0.5702 GB, free: 30.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.3204, allocations: 14.19 kB / 0.5702 GB, free: 30.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3204, allocations: 1.062 kB / 0.5702 GB, free: 30.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.075e-05/0.3204, allocations: 38.92 kB / 0.5703 GB, free: 30.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3205, allocations: 8.594 kB / 0.5703 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3205, allocations: 1.188 kB / 0.5703 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3205, allocations: 1.219 kB / 0.5703 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.278e-05/0.3205, allocations: 3 kB / 0.5703 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3205, allocations: 0.9375 kB / 0.5703 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.319e-05/0.3206, allocations: 1.688 kB / 0.5703 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3206, allocations: 4 kB / 0.5703 GB, free: 30 MB / 446.1 MB 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 4.714e-05/0.3206, allocations: 119.6 kB / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.3206, allocations: 5.25 kB / 0.5704 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/0.3207, allocations: 47.06 kB / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3207, allocations: 2.219 kB / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3207, allocations: 0.8906 kB / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3207, allocations: 3.984 kB / 0.5705 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.046e-05/0.3208, allocations: 156.4 kB / 0.5706 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3208, allocations: 5.938 kB / 0.5706 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.25e-05/0.3208, allocations: 1.094 kB / 0.5706 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3208, allocations: 5 kB / 0.5706 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.3209, allocations: 1.719 kB / 0.5706 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3209, allocations: 1.219 kB / 0.5706 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3209, allocations: 1.344 kB / 0.5706 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.05e-05/0.3209, allocations: 68.3 kB / 0.5707 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.321, allocations: 78.86 kB / 0.5708 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.321, allocations: 5.656 kB / 0.5708 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.007e-05/0.321, allocations: 1.75 kB / 0.5708 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.321, allocations: 1.844 kB / 0.5708 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.321, allocations: 1.094 kB / 0.5708 GB, free: 29.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.022e-05/0.3211, allocations: 90.88 kB / 0.5709 GB, free: 29.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3211, allocations: 1.031 kB / 0.5709 GB, free: 29.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001994/0.3213, allocations: 4.281 kB / 0.5709 GB, free: 29.38 MB / 446.1 MB 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.0003106/0.3216, allocations: 0.6189 MB / 0.5715 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.163e-05/0.3217, allocations: 6.422 kB / 0.5715 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3217, allocations: 0.625 kB / 0.5715 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/0.3217, allocations: 3.359 kB / 0.5715 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.3218, allocations: 2.219 kB / 0.5715 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.3225, allocations: 1.103 MB / 0.5726 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3227, allocations: 0.6813 MB / 0.5732 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.3227, allocations: 10.38 kB / 0.5732 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.3228, allocations: 9.578 kB / 0.5732 GB, free: 26.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3228, allocations: 0 / 0.5732 GB, free: 26.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.3389, allocations: 1.373 MB / 0.5746 GB, free: 26.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.133/7.472, allocations: 15.11 kB / 0.5746 GB, free: 26.63 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)