Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_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.001089/0.001089, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 62.78 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3166, allocations: 157.4 MB / 1.052 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00282/0.3195, allocations: 1.552 MB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3208, allocations: 1.08 MB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.3209, allocations: 3.938 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.321, allocations: 23.86 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.3212, allocations: 31.89 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.3214, allocations: 63.11 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3216, allocations: 139.6 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3217, allocations: 65.06 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.3218, allocations: 75.7 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.322, allocations: 59.69 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.322, allocations: 8 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.071e-05/0.3221, allocations: 20 kB / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.3222, allocations: 43.88 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.3223, allocations: 75.52 kB / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.3225, allocations: 195.6 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3225, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3225, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3225, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006637/0.3232, allocations: 494.7 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3232, allocations: 11.97 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.3233, allocations: 42.75 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.3233, allocations: 16.75 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.3237, allocations: 259.9 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3238, allocations: 115.4 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.3238, allocations: 4.375 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.3241, allocations: 161.5 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3242, allocations: 3.938 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.3242, allocations: 4 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.3242, allocations: 15.92 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.3243, allocations: 43.97 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000989/0.3253, allocations: 464.4 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.3254, allocations: 34.56 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.3254, allocations: 20.86 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.3255, allocations: 7.984 kB / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3255, allocations: 34.56 kB / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.3255, allocations: 4 kB / 1.057 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002602/0.3258, allocations: 105.6 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.3258, allocations: 55.34 kB / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.326, allocations: 219.7 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.326, allocations: 37.64 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.3261, allocations: 116 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.3261, allocations: 27.78 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3262, allocations: 25.72 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.3263, allocations: 334.8 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-05/0.3264, allocations: 27.98 kB / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.986e-05/0.3264, allocations: 94.28 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.3266, allocations: 146.1 kB / 1.058 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3266, allocations: 0 / 1.058 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002193/0.3268, allocations: 153.5 kB / 1.058 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3269, allocations: 9.719 kB / 1.058 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3269, allocations: 7.984 kB / 1.058 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3269, allocations: 4 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.327, allocations: 23.92 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.327, allocations: 7.938 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.3271, allocations: 15.84 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3271, allocations: 8 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001313/0.3273, allocations: 149.9 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.3273, allocations: 15.81 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.3275, allocations: 111 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3275, allocations: 0 / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3275, allocations: 7.938 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3276, allocations: 0 / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.3278, allocations: 229.5 kB / 1.059 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3278, allocations: 0 / 1.059 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.3278, allocations: 12 kB / 1.059 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3279, allocations: 11.88 kB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3279, allocations: 7.938 kB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3279, allocations: 3.984 kB / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3279, allocations: 3.938 kB / 1.059 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3281, allocations: 183.3 kB / 1.059 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.3281, allocations: 88.92 kB / 1.059 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3282, allocations: 4 kB / 1.059 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3284, allocations: 27.97 kB / 1.059 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.3284, allocations: 7.938 kB / 1.059 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.3284, allocations: 7.984 kB / 1.059 GB, free: 432 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001304/0.3286, allocations: 165.5 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3286, allocations: 0 / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002896/0.3289, allocations: 35.84 kB / 1.06 GB, free: 232 kB / 0.8106 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 (8): * Single equations (assignments): 8 * 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.0005751/0.3295, allocations: 0.744 MB / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.3296, allocations: 76.92 kB / 1.06 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.3296, allocations: 8.188 kB / 1.06 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.3297, allocations: 23.98 kB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.33, allocations: 19.94 kB / 1.06 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.3318, allocations: 1.935 MB / 1.062 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.3321, allocations: 0.7395 MB / 1.063 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.3323, allocations: 48.84 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.3323, allocations: 47.41 kB / 1.063 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3323, allocations: 4 kB / 1.063 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3253/0.6576, allocations: 4.016 MB / 1.067 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/0.658, allocations: 216.8 kB / 1.067 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.498, allocations: 0 / 1.067 GB, free: 8.242 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)