Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_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.006918/0.006918, allocations: 103 kB / 15.73 MB, free: 6.035 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.001503/0.001503, allocations: 190 kB / 16.67 MB, free: 5.965 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 461.9 MB / 0.7348 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.89 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3197, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003105/0.3229, allocations: 1.349 MB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.3231, allocations: 39.81 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.3232, allocations: 3.938 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.3234, allocations: 11.94 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.3236, allocations: 15.92 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.959e-06/0.3236, allocations: 0 / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.3237, allocations: 11.98 kB / 1.209 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.3237, allocations: 7.984 kB / 1.209 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.3238, allocations: 11.88 kB / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.3239, allocations: 4 kB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3239, allocations: 4 kB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.873e-05/0.3239, allocations: 7.984 kB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.324, allocations: 7.938 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.324, allocations: 7.938 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.3242, allocations: 27.91 kB / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3242, allocations: 0 / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3242, allocations: 0 / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3242, allocations: 4 kB / 1.209 GB, free: 8.621 MB / 0.9669 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.0003839/0.3246, allocations: 335.7 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3246, allocations: 12.56 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/0.3247, allocations: 30.75 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3247, allocations: 8.844 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.3249, allocations: 172.4 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3249, allocations: 384 / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.325, allocations: 384 / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3251, allocations: 46.17 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3251, allocations: 7.938 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3251, allocations: 0 / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3251, allocations: 0 / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.54e-05/0.3252, allocations: 4 kB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.3255, allocations: 244.9 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.3255, allocations: 22.45 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.3256, allocations: 8.922 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3256, allocations: 4 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3256, allocations: 34.56 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 2.855e-06/0.3256, allocations: 0 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001621/0.3258, allocations: 45.62 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3258, allocations: 51.41 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.326, allocations: 109.8 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.326, allocations: 25.7 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.326, allocations: 92.27 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.3261, allocations: 7.844 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.3261, allocations: 13.7 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3262, allocations: 318.8 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.3262, allocations: 0 / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.3262, allocations: 0 / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.3263, allocations: 8.859 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3263, allocations: 8 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.181e-05/0.3264, allocations: 45.67 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3264, allocations: 4 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3264, allocations: 4 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3264, allocations: 0 / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.3265, allocations: 0 / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3265, allocations: 3.938 kB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.3265, allocations: 0 / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3265, allocations: 4 kB / 1.21 GB, free: 6.746 MB / 0.9669 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.217e-05/0.3266, allocations: 113.8 kB / 1.21 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3266, allocations: 3.984 kB / 1.21 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.324e-05/0.3267, allocations: 49.08 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3267, allocations: 0 / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3267, allocations: 0 / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3267, allocations: 3.938 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3269, allocations: 165.6 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3269, allocations: 0 / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/0.327, allocations: 0 / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.327, allocations: 0 / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.327, allocations: 4.031 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.327, allocations: 4 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.327, allocations: 0 / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.973e-05/0.3271, allocations: 135.4 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.3271, allocations: 77.11 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.3272, allocations: 0 / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.478e-05/0.3272, allocations: 7.938 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.3272, allocations: 4.031 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.3272, allocations: 4 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.3273, allocations: 91.27 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3273, allocations: 0 / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002472/0.3276, allocations: 4 kB / 1.211 GB, free: 5.988 MB / 0.9669 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.0005047/0.3281, allocations: 0.6867 MB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.462e-05/0.3282, allocations: 4 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3282, allocations: 0 / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/0.3282, allocations: 7.984 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3284, allocations: 4 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.3294, allocations: 1.184 MB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.3297, allocations: 0.6846 MB / 1.213 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.119e-05/0.3298, allocations: 11.88 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.3298, allocations: 19.42 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3298, allocations: 3.938 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.3476, allocations: 1.372 MB / 1.215 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.237, allocations: 10.3 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)