Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_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.001422/0.001422, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001572/0.001572, allocations: 191.8 kB / 16.14 MB, free: 6.719 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.8686 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4706, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002168/0.4728, allocations: 1.412 MB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.4729, allocations: 36.36 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.4729, allocations: 4 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.4731, allocations: 11.98 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.4732, allocations: 11.94 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.154e-06/0.4732, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.718e-05/0.4732, allocations: 11.92 kB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.4733, allocations: 8 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.4733, allocations: 11.88 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.4733, allocations: 11.91 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.4733, allocations: 4 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.491e-05/0.4734, allocations: 8 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.4734, allocations: 4 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.4734, allocations: 7.938 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.497e-05/0.4735, allocations: 27.91 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4735, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4735, allocations: 4 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.4735, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 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.0002408/0.4738, allocations: 337.6 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.4738, allocations: 8.031 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.4738, allocations: 30.75 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/0.4739, allocations: 4.938 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.474, allocations: 180.3 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.474, allocations: 384 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-06/0.474, allocations: 384 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.388e-05/0.4741, allocations: 34.25 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.4741, allocations: 3.938 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.4741, allocations: 3.938 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4741, allocations: 4 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.4741, allocations: 7.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.4744, allocations: 244.9 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.113e-05/0.4744, allocations: 22.55 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.4744, allocations: 4.859 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.4744, allocations: 4.062 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.4744, allocations: 34.56 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4744, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001088/0.4746, allocations: 41.75 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.4746, allocations: 55.41 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.4747, allocations: 117.8 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.4747, allocations: 25.7 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.4747, allocations: 80.14 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.4747, allocations: 8 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.4748, allocations: 13.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.4748, allocations: 310.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.4749, allocations: 8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.4749, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.066e-05/0.4749, allocations: 16.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4749, allocations: 3.938 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.064e-05/0.475, allocations: 37.69 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.475, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.475, allocations: 3.938 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.475, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.565e-05/0.475, allocations: 4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.475, allocations: 4.094 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.4751, allocations: 3.906 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-06/0.4751, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 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 4.984e-05/0.4751, allocations: 117.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.4752, allocations: 3.984 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.4752, allocations: 45.17 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4752, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.4752, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.4752, allocations: 4.031 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.4754, allocations: 161.6 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4754, allocations: 3.938 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.4754, allocations: 8 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.4754, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-06/0.4754, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4754, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4754, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.411e-05/0.4755, allocations: 139.5 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.4755, allocations: 85.02 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.4755, allocations: 3.938 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.4756, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-06/0.4756, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.4756, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.401e-05/0.4757, allocations: 95.25 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4757, allocations: 0 / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002114/0.4759, allocations: 4 kB / 1.02 GB, free: 14.58 MB / 0.7794 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.0003475/0.4762, allocations: 0.6858 MB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.796e-05/0.4763, allocations: 11.94 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.4763, allocations: 4.094 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-06/0.4763, allocations: 7.984 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.4765, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.4772, allocations: 1.184 MB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.4774, allocations: 0.6809 MB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.4774, allocations: 3.938 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.4775, allocations: 19.42 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4775, allocations: 4.031 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8369/1.314, allocations: 1.23 MB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.315, allocations: 199.5 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.912, allocations: 0 / 1.024 GB, free: 10.44 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)