Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_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.001943/0.001943, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.544/2.544, allocations: 469.8 MB / 0.7424 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001764, allocations: 61.89 kB / 0.9086 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2523, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002408/0.2547, allocations: 1.363 MB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001236/0.2548, allocations: 27.89 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.2549, allocations: 3.938 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.255, allocations: 11.94 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.2551, allocations: 15.91 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.2551, allocations: 0 / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.2552, allocations: 12 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.2552, allocations: 0 / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.2553, allocations: 11.92 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.2553, allocations: 15.94 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2553, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.075e-05/0.2554, allocations: 8 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.2554, allocations: 11.91 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.2554, allocations: 11.94 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.723e-05/0.2555, allocations: 19.92 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2555, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2555, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2556, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8262 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.0003121/0.2559, allocations: 331.7 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2559, allocations: 16.03 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.256, allocations: 30.75 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.256, allocations: 4.844 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.2562, allocations: 172.4 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.2562, allocations: 8.375 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.2562, allocations: 4.312 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.401e-05/0.2563, allocations: 34.2 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2563, allocations: 7.922 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.2563, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.2563, allocations: 8 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.2563, allocations: 0 / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.2566, allocations: 241 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.969e-05/0.2566, allocations: 22.52 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.2567, allocations: 8.797 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.2567, allocations: 3.938 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.2567, allocations: 38.62 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.2567, allocations: 0 / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.2568, allocations: 37.61 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2569, allocations: 59.39 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.257, allocations: 109.8 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.257, allocations: 25.7 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.257, allocations: 84.14 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.257, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.2571, allocations: 17.84 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2572, allocations: 314.8 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.2572, allocations: 11.92 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-06/0.2572, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/0.2572, allocations: 8.859 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2573, allocations: 3.938 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.547e-05/0.2573, allocations: 37.61 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.2573, allocations: 4.094 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2573, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2574, allocations: 3.984 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.73e-05/0.2574, allocations: 4 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.2574, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.2574, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2574, allocations: 4 kB / 1.067 GB, free: 10.8 MB / 0.8262 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.095e-05/0.2575, allocations: 117.7 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.2575, allocations: 0 / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.282e-05/0.2576, allocations: 45.53 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2576, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2576, allocations: 4 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2576, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.2578, allocations: 157.6 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2578, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.2578, allocations: 4 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.2578, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.2578, allocations: 3.938 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2578, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2578, allocations: 3.984 kB / 1.067 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.776e-05/0.2579, allocations: 151.3 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.258, allocations: 77.11 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.258, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.258, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.2581, allocations: 3.984 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.2581, allocations: 3.984 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.453e-05/0.2581, allocations: 91.31 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2581, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002125/0.2584, allocations: 11.94 kB / 1.068 GB, free: 10.03 MB / 0.8262 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.0004556/0.2588, allocations: 0.6946 MB / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.74e-05/0.2589, allocations: 4 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2589, allocations: 0 / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.2589, allocations: 4 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.2591, allocations: 4 kB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.26, allocations: 1.171 MB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2603, allocations: 0.6846 MB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.869e-05/0.2603, allocations: 7.984 kB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.2604, allocations: 7.438 kB / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2604, allocations: 0 / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2457/0.506, allocations: 1.368 MB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.726/9.232, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)