Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.004785/0.004785, allocations: 102.1 kB / 15.73 MB, free: 6.039 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.001019/0.001019, allocations: 199.5 kB / 16.67 MB, free: 5.977 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.586/2.586, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3127, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003365/0.3161, allocations: 1.369 MB / 1.167 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.3164, allocations: 35.83 kB / 1.168 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.3164, allocations: 8 kB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.3166, allocations: 11.92 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3168, allocations: 15.92 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.261e-06/0.3169, allocations: 0 / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.958e-05/0.3169, allocations: 15.94 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.317, allocations: 7.922 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.317, allocations: 8 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.3171, allocations: 11.92 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3171, allocations: 0 / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.3172, allocations: 12 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.3173, allocations: 11.98 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.3173, allocations: 7.938 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3174, allocations: 35.89 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3175, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3175, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3175, allocations: 0 / 1.168 GB, free: 5.738 MB / 0.92 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.0004/0.3179, allocations: 334.2 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3179, allocations: 8.031 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.318, allocations: 38.69 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.318, allocations: 8.938 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3182, allocations: 172.3 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3183, allocations: 384 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.3183, allocations: 384 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3184, allocations: 30.27 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3184, allocations: 3.938 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3184, allocations: 0 / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.3184, allocations: 3.938 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.3185, allocations: 11.98 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.3187, allocations: 157.7 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.283e-05/0.3187, allocations: 18.52 kB / 1.168 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.3188, allocations: 8.922 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3188, allocations: 0 / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3188, allocations: 30.56 kB / 1.168 GB, free: 4.758 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3188, allocations: 0 / 1.168 GB, free: 4.758 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001531/0.319, allocations: 45.58 kB / 1.168 GB, free: 4.707 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.319, allocations: 59.52 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3192, allocations: 121.8 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3192, allocations: 25.7 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.3192, allocations: 88.12 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.3193, allocations: 0 / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.3193, allocations: 13.72 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3194, allocations: 310.8 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.3195, allocations: 7.984 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.3195, allocations: 8 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.3195, allocations: 8.859 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3195, allocations: 0 / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.973e-05/0.3196, allocations: 41.64 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3196, allocations: 7.938 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3196, allocations: 3.938 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3196, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.3197, allocations: 7.984 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3197, allocations: 4.094 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.3197, allocations: 0.5625 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3198, allocations: 0 / 1.169 GB, free: 3.957 MB / 0.92 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 8.414e-05/0.3198, allocations: 109.8 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.3199, allocations: 7.844 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.32, allocations: 45.22 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.32, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.32, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.32, allocations: 0 / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.3201, allocations: 157.7 kB / 1.169 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3201, allocations: 3.938 kB / 1.169 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.3202, allocations: 4 kB / 1.169 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3202, allocations: 11.86 kB / 1.169 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3202, allocations: 4 kB / 1.169 GB, free: 3.551 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3202, allocations: 3.984 kB / 1.169 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3202, allocations: 0 / 1.169 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.252e-05/0.3203, allocations: 61.14 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.3203, allocations: 81.3 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3204, allocations: 11.92 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.017e-05/0.3204, allocations: 0 / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3204, allocations: 0 / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.3204, allocations: 0 / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.3205, allocations: 91.28 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3205, allocations: 0 / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002122/0.3207, allocations: 7.984 kB / 1.17 GB, free: 3.262 MB / 0.92 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.0005039/0.3212, allocations: 0.6238 MB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.066e-05/0.3213, allocations: 4 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3213, allocations: 4.094 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.3213, allocations: 4 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.3215, allocations: 7.938 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3225, allocations: 1.114 MB / 1.171 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3228, allocations: 0.6807 MB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.3229, allocations: 3.984 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.323, allocations: 15.44 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of SimCode: time 4.71e-07/0.323, allocations: 0 / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.3522, allocations: 1.398 MB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.596, allocations: 8.828 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)