Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_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.001048/0.001048, allocations: 104.1 kB / 16.27 MB, free: 5.93 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.0009891/0.0009891, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7268/0.7268, allocations: 122.8 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2779, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002172/0.2802, allocations: 1.338 MB / 0.5686 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000123/0.2803, allocations: 35.94 kB / 0.5686 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.2803, allocations: 2.281 kB / 0.5686 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.2805, allocations: 11.48 kB / 0.5686 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.858e-05/0.2806, allocations: 17.33 kB / 0.5686 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.2806, allocations: 1.469 kB / 0.5686 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.298e-05/0.2807, allocations: 16.89 kB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.2807, allocations: 6.266 kB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.377e-05/0.2807, allocations: 8.359 kB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.2808, allocations: 10.05 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2808, allocations: 1.156 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.2808, allocations: 11.11 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.2809, allocations: 5.953 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.2809, allocations: 9.984 kB / 0.5687 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.64e-05/0.281, allocations: 26.23 kB / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.281, allocations: 3.938 kB / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.281, allocations: 0 / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.281, allocations: 0 / 0.5687 GB, free: 31.66 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.0002178/0.2812, allocations: 330.2 kB / 0.5691 GB, free: 31.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2813, allocations: 10.81 kB / 0.5691 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.2813, allocations: 36.73 kB / 0.5691 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.2813, allocations: 6.469 kB / 0.5691 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2815, allocations: 175.6 kB / 0.5693 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.2815, allocations: 1.938 kB / 0.5693 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.2815, allocations: 2.406 kB / 0.5693 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.791e-05/0.2816, allocations: 33.23 kB / 0.5693 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2816, allocations: 5.906 kB / 0.5693 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.2816, allocations: 1.062 kB / 0.5693 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.2816, allocations: 1.938 kB / 0.5693 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.2816, allocations: 11.8 kB / 0.5693 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.2818, allocations: 245.7 kB / 0.5696 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.072e-05/0.2819, allocations: 25.67 kB / 0.5696 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.2819, allocations: 10.72 kB / 0.5696 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.2819, allocations: 1.625 kB / 0.5696 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.2819, allocations: 36.62 kB / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2819, allocations: 3 kB / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.2821, allocations: 37.45 kB / 0.5697 GB, free: 30.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.2821, allocations: 53.19 kB / 0.5697 GB, free: 30.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.2822, allocations: 114.4 kB / 0.5698 GB, free: 30.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.2822, allocations: 26.27 kB / 0.5699 GB, free: 30.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.996e-05/0.2822, allocations: 87.84 kB / 0.5699 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.2822, allocations: 6.266 kB / 0.57 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.2822, allocations: 12.09 kB / 0.57 GB, free: 30.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.543e-05/0.2823, allocations: 317.3 kB / 0.5703 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-06/0.2823, allocations: 1.312 kB / 0.5703 GB, free: 29.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.2823, allocations: 2.438 kB / 0.5703 GB, free: 29.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.873e-05/0.2823, allocations: 17.45 kB / 0.5703 GB, free: 29.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2823, allocations: 4.594 kB / 0.5703 GB, free: 29.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.691e-05/0.2824, allocations: 37.86 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2824, allocations: 5.969 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2824, allocations: 0 / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2824, allocations: 3.188 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.821e-05/0.2825, allocations: 2.016 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2825, allocations: 0 / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.2825, allocations: 1.156 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.2825, allocations: 0.6562 kB / 0.5703 GB, free: 29.94 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 3.696e-05/0.2825, allocations: 113.5 kB / 0.5704 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.2826, allocations: 11.75 kB / 0.5705 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.2826, allocations: 46.09 kB / 0.5705 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2827, allocations: 2.984 kB / 0.5705 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2827, allocations: 0 / 0.5705 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-06/0.2827, allocations: 0.625 kB / 0.5705 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.2828, allocations: 159.2 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2828, allocations: 1.125 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.2828, allocations: 2.672 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2828, allocations: 1.062 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.2828, allocations: 1.25 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2828, allocations: 1 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2828, allocations: 0.7031 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.703e-05/0.2829, allocations: 139.3 kB / 0.5708 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.2829, allocations: 79.7 kB / 0.5709 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.2829, allocations: 1.391 kB / 0.5709 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.283, allocations: 4.953 kB / 0.5709 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-06/0.283, allocations: 1.812 kB / 0.5709 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.283, allocations: 0.8438 kB / 0.5709 GB, free: 29.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.453e-05/0.283, allocations: 91.66 kB / 0.571 GB, free: 29.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.283, allocations: 0.7812 kB / 0.571 GB, free: 29.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.2833, allocations: 4.297 kB / 0.571 GB, free: 29.26 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.0002648/0.2835, allocations: 0.6864 MB / 0.5716 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.972e-05/0.2836, allocations: 11.36 kB / 0.5717 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2836, allocations: 1.875 kB / 0.5717 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.52e-05/0.2837, allocations: 4.328 kB / 0.5717 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.2839, allocations: 1.094 kB / 0.5717 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.2845, allocations: 1.174 MB / 0.5728 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.31e-05/0.2846, allocations: 0.6787 MB / 0.5735 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.2846, allocations: 4.969 kB / 0.5735 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.2847, allocations: 15.02 kB / 0.5735 GB, free: 26.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2847, allocations: 1.562 kB / 0.5735 GB, free: 26.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.2998, allocations: 1.342 MB / 0.5748 GB, free: 26.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/7.647, allocations: 7.406 kB / 0.5748 GB, free: 26.36 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)