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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00114/0.00114, allocations: 108 kB / 15.61 MB, free: 152 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.001803/0.001803, allocations: 193 kB / 16.53 MB, free: 6.664 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.352/2.352, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5318, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002536/0.5343, allocations: 1.347 MB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001556/0.5345, allocations: 43.88 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.5346, allocations: 7.938 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.5347, allocations: 7.922 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/0.5348, allocations: 7.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.899e-06/0.5348, allocations: 4 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.5349, allocations: 15.97 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.535, allocations: 3.938 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.535, allocations: 11.88 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.535, allocations: 11.98 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.5351, allocations: 0 / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.39e-05/0.5351, allocations: 12 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.5351, allocations: 3.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.5352, allocations: 11.94 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.533e-05/0.5353, allocations: 23.91 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5353, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5353, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5353, allocations: 0 / 1.019 GB, free: 0.918 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.0002985/0.5356, allocations: 339.4 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5356, allocations: 8.031 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.5357, allocations: 34.75 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.5357, allocations: 8.922 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.5359, allocations: 172.3 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.5359, allocations: 384 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.5359, allocations: 4.375 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.069e-05/0.536, allocations: 42.17 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.536, allocations: 3.938 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.536, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.536, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.536, allocations: 4 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.5363, allocations: 248.9 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.673e-05/0.5363, allocations: 22.52 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.5364, allocations: 16.8 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.5364, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.5364, allocations: 34.55 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.5364, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.5365, allocations: 41.7 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.5366, allocations: 51.41 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.5367, allocations: 109.8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.5367, allocations: 25.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.5367, allocations: 92.05 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.5367, allocations: 3.984 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.5368, allocations: 13.72 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.5369, allocations: 322.9 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.5369, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/0.5369, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.961e-05/0.5369, allocations: 8.859 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5369, allocations: 3.938 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.644e-05/0.537, allocations: 41.69 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.537, allocations: 13.34 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.537, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.537, allocations: 96 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.5371, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5371, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.5371, allocations: 7.938 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.5371, allocations: 0 / 1.02 GB, free: 15.04 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 5.922e-05/0.5372, allocations: 115.3 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.5372, allocations: 7.906 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.274e-05/0.5373, allocations: 37.23 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5373, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5373, allocations: 8.031 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5373, allocations: 3.984 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.5374, allocations: 157.6 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5375, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.5375, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5375, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.5375, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5375, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5375, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.487e-05/0.5376, allocations: 143.4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.5376, allocations: 81.02 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.5376, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.5377, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.5377, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.5377, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.5378, allocations: 91.58 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5378, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000223/0.538, allocations: 4 kB / 1.021 GB, free: 14.29 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.0004273/0.5384, allocations: 0.6853 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.511e-05/0.5385, allocations: 12.02 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5385, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-06/0.5385, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.5387, allocations: 9.828 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.5396, allocations: 1.171 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.5398, allocations: 0.6845 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.541e-05/0.5399, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.5399, allocations: 19.45 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.5399, allocations: 3.938 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2757/0.8156, allocations: 1.34 MB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.354/8.17, allocations: 12.88 kB / 1.025 GB, free: 10.27 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)