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.001479/0.001484, allocations: 104.2 kB / 15.98 MB, free: 6.348 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.0017/0.0017, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.296/1.296, allocations: 222.9 MB / 240.6 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6921/0.6921, allocations: 115.3 MB / 406.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 75.88 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2782, allocations: 76.17 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002064/0.2803, allocations: 1.392 MB / 0.5574 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.2804, allocations: 37.03 kB / 0.5574 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.2805, allocations: 0 / 0.5574 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2806, allocations: 5.484 kB / 0.5574 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.2807, allocations: 20.39 kB / 0.5574 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.466e-06/0.2807, allocations: 0.5312 kB / 0.5574 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.215e-05/0.2808, allocations: 12.17 kB / 0.5575 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.2808, allocations: 7.156 kB / 0.5575 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.2808, allocations: 6.969 kB / 0.5575 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.2809, allocations: 12 kB / 0.5575 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2809, allocations: 1.406 kB / 0.5575 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.2809, allocations: 9.391 kB / 0.5575 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.281, allocations: 1.406 kB / 0.5575 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.281, allocations: 19.3 kB / 0.5575 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.997e-05/0.2811, allocations: 20.81 kB / 0.5575 GB, free: 35.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2811, allocations: 0.5 kB / 0.5575 GB, free: 35.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2811, allocations: 0 / 0.5575 GB, free: 35.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2811, allocations: 1.75 kB / 0.5575 GB, free: 35.3 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.0002123/0.2813, allocations: 330.7 kB / 0.5578 GB, free: 34.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2814, allocations: 14.67 kB / 0.5579 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.2814, allocations: 32.03 kB / 0.5579 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.2814, allocations: 7.156 kB / 0.5579 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2815, allocations: 180.8 kB / 0.5581 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-06/0.2815, allocations: 3.172 kB / 0.5581 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.2816, allocations: 1.625 kB / 0.5581 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.498e-05/0.2816, allocations: 35.12 kB / 0.5581 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2816, allocations: 4.688 kB / 0.5581 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.2816, allocations: 0 / 0.5581 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.2817, allocations: 6.188 kB / 0.5581 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.2817, allocations: 3.469 kB / 0.5581 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.2819, allocations: 249.2 kB / 0.5584 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.865e-05/0.2819, allocations: 21.2 kB / 0.5584 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.2819, allocations: 8.172 kB / 0.5584 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2819, allocations: 1.844 kB / 0.5584 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.005e-05/0.282, allocations: 34.48 kB / 0.5584 GB, free: 34.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.282, allocations: 0 / 0.5584 GB, free: 34.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001144/0.2821, allocations: 47.73 kB / 0.5585 GB, free: 34.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.531e-05/0.2821, allocations: 52.44 kB / 0.5585 GB, free: 34.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.2822, allocations: 116.2 kB / 0.5586 GB, free: 34.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-06/0.2822, allocations: 25.7 kB / 0.5587 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.839e-05/0.2822, allocations: 88.95 kB / 0.5587 GB, free: 33.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.2822, allocations: 3.562 kB / 0.5587 GB, free: 33.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.2823, allocations: 11.41 kB / 0.5588 GB, free: 33.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.43e-05/0.2823, allocations: 316 kB / 0.5591 GB, free: 33.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.2823, allocations: 2.375 kB / 0.5591 GB, free: 33.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-06/0.2823, allocations: 1.125 kB / 0.5591 GB, free: 33.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.8e-05/0.2823, allocations: 14.42 kB / 0.5591 GB, free: 33.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2823, allocations: 3.938 kB / 0.5591 GB, free: 33.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.61e-05/0.2824, allocations: 47.7 kB / 0.5591 GB, free: 33.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2824, allocations: 7.156 kB / 0.5591 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.2824, allocations: 1.594 kB / 0.5591 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2824, allocations: 0 / 0.5591 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.674e-05/0.2825, allocations: 1.5 kB / 0.5591 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.2825, allocations: 0 / 0.5591 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.2825, allocations: 1.625 kB / 0.5591 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.2825, allocations: 4.875 kB / 0.5591 GB, free: 33.57 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.754e-05/0.2826, allocations: 113.9 kB / 0.5592 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.2826, allocations: 5.438 kB / 0.5593 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.2827, allocations: 48.8 kB / 0.5593 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2827, allocations: 0.6875 kB / 0.5593 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2827, allocations: 1.031 kB / 0.5593 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2827, allocations: 5.203 kB / 0.5593 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.2828, allocations: 160.6 kB / 0.5595 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2828, allocations: 0 / 0.5595 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.2828, allocations: 1.469 kB / 0.5595 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2828, allocations: 0.9688 kB / 0.5595 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.2828, allocations: 1.281 kB / 0.5595 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2828, allocations: 0.7812 kB / 0.5595 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2828, allocations: 0 / 0.5595 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.376e-05/0.2829, allocations: 138.9 kB / 0.5596 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.2829, allocations: 77.11 kB / 0.5597 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.2829, allocations: 1.25 kB / 0.5597 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.283, allocations: 0.5938 kB / 0.5597 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.283, allocations: 14.78 kB / 0.5597 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.283, allocations: 1.188 kB / 0.5597 GB, free: 32.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.283, allocations: 90.2 kB / 0.5598 GB, free: 32.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.283, allocations: 0 / 0.5598 GB, free: 32.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.2833, allocations: 7.391 kB / 0.5598 GB, free: 32.89 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.0002555/0.2835, allocations: 0.6805 MB / 0.5604 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.877e-05/0.2836, allocations: 11.91 kB / 0.5605 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2836, allocations: 1.344 kB / 0.5605 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-06/0.2836, allocations: 6.812 kB / 0.5605 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2838, allocations: 8.188 kB / 0.5605 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/0.2844, allocations: 1.18 MB / 0.5616 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.209e-05/0.2845, allocations: 0.6781 MB / 0.5623 GB, free: 30.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.254e-05/0.2846, allocations: 5.062 kB / 0.5623 GB, free: 30.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.2846, allocations: 11.31 kB / 0.5623 GB, free: 30.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2846, allocations: 0 / 0.5623 GB, free: 30.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.3032, allocations: 1.263 MB / 0.5635 GB, free: 30.11 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001138/0.3033, allocations: 195.1 kB / 0.5637 GB, free: 29.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.998, allocations: 0 / 0.5637 GB, free: 29.86 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)