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.005231/0.005231, allocations: 102.2 kB / 15.73 MB, free: 6.449 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.001553/0.001553, allocations: 199.6 kB / 16.68 MB, free: 6.352 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.633/2.633, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2707, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002378/0.2731, allocations: 1.355 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000124/0.2732, allocations: 35.83 kB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.2733, allocations: 3.938 kB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.2734, allocations: 15.92 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/0.2735, allocations: 15.92 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.376e-06/0.2735, allocations: 4 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.523e-05/0.2736, allocations: 11.92 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.2736, allocations: 4 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.2737, allocations: 11.94 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.2737, allocations: 7.984 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.2737, allocations: 0 / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.789e-05/0.2738, allocations: 8 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.2738, allocations: 11.92 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.2738, allocations: 3.938 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.452e-05/0.2739, allocations: 27.86 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2739, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2739, allocations: 4 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.274, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 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.0003108/0.2743, allocations: 331.4 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.2743, allocations: 8.031 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.2744, allocations: 30.75 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.943e-05/0.2744, allocations: 4.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.2745, allocations: 180.3 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.2746, allocations: 384 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-06/0.2746, allocations: 384 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.82e-05/0.2747, allocations: 46.19 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2747, allocations: 3.938 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.2747, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.2747, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.2747, allocations: 8 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.275, allocations: 240.9 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.984e-05/0.275, allocations: 22.45 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.275, allocations: 12.92 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2751, allocations: 3.938 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2751, allocations: 38.55 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2751, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.2752, allocations: 37.66 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2753, allocations: 51.41 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.2754, allocations: 117.8 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2754, allocations: 29.83 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.2754, allocations: 84.14 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.2754, allocations: 3.938 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2755, allocations: 17.7 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2756, allocations: 314.8 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-06/0.2756, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.2756, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.2757, allocations: 12.86 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2757, allocations: 8 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.552e-05/0.2757, allocations: 41.64 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2757, allocations: 8 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.2758, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2758, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/0.2758, allocations: 3.938 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.2758, allocations: 320 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.2758, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.2758, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 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.745e-05/0.2759, allocations: 118.3 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.276, allocations: 4 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.819e-05/0.276, allocations: 45.2 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.276, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.276, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.2761, allocations: 4 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2762, allocations: 161.6 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2762, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.2762, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2762, allocations: 4.031 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2763, allocations: 4 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2763, allocations: 3.938 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.2763, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.8e-05/0.2764, allocations: 143.4 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.2764, allocations: 77.11 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.2764, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.2765, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.2765, allocations: 8.031 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.2765, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.625e-05/0.2766, allocations: 91.27 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2766, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002123/0.2768, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 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.000469/0.2773, allocations: 0.6887 MB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.736e-05/0.2773, allocations: 15.94 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2773, allocations: 0 / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.717e-06/0.2773, allocations: 3.984 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.2775, allocations: 4 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009351/0.2785, allocations: 1.183 MB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2788, allocations: 0.6768 MB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.699e-05/0.2788, allocations: 7.984 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.2788, allocations: 15.44 kB / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.2788, allocations: 0 / 1.226 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.899/2.178, allocations: 1.379 MB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/12.94, allocations: 0 / 1.228 GB, free: 6.125 MB / 0.9825 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)