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.00519/0.00519, allocations: 103.7 kB / 15.74 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.001764/0.001764, allocations: 193.8 kB / 16.67 MB, free: 6.355 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.392/2.392, allocations: 437.1 MB / 0.7106 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2403, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002246/0.2426, allocations: 1.352 MB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001326/0.2428, allocations: 35.83 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.2428, allocations: 4 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.2429, allocations: 7.938 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.374e-05/0.243, allocations: 19.91 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.045e-06/0.2431, allocations: 0 / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.2431, allocations: 23.86 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.2432, allocations: 0 / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.2432, allocations: 4 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.2432, allocations: 11.94 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2432, allocations: 0 / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.093e-05/0.2433, allocations: 11.98 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.2433, allocations: 7.984 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.2434, allocations: 7.938 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.472e-05/0.2434, allocations: 24.14 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2434, allocations: 0 / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2434, allocations: 0 / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2435, allocations: 0 / 1.168 GB, free: 5.742 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.0003147/0.2438, allocations: 343.2 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.2438, allocations: 8.031 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.2439, allocations: 38.73 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.2439, allocations: 0.9375 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.244, allocations: 184.3 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-06/0.2441, allocations: 384 / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-06/0.2441, allocations: 4.375 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.447e-05/0.2442, allocations: 34.25 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2442, allocations: 3.938 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-06/0.2442, allocations: 0 / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.2442, allocations: 0 / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.2442, allocations: 4 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.2445, allocations: 248.9 kB / 1.168 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.2445, allocations: 22.45 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/0.2445, allocations: 8.922 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.2446, allocations: 0 / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2446, allocations: 30.56 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 3.697e-06/0.2446, allocations: 3.984 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.2447, allocations: 49.67 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.2448, allocations: 55.44 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.2449, allocations: 109.8 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2449, allocations: 25.7 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.2449, allocations: 88.14 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-06/0.2449, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.245, allocations: 13.72 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2451, allocations: 318.8 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.2451, allocations: 4 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-06/0.2451, allocations: 4 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.2451, allocations: 8.859 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2451, allocations: 3.938 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.622e-05/0.2452, allocations: 45.58 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2452, allocations: 8 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2452, allocations: 3.938 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.2452, allocations: 0 / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.2453, allocations: 0 / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.2453, allocations: 4.094 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.2453, allocations: 4 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.2453, allocations: 0 / 1.169 GB, free: 3.859 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 6.423e-05/0.2454, allocations: 109.8 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.2454, allocations: 4 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.688e-05/0.2455, allocations: 45.52 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2455, allocations: 0 / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2455, allocations: 8 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2455, allocations: 4.031 kB / 1.169 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.2457, allocations: 161.5 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2457, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.2457, allocations: 3.984 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2457, allocations: 4 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.2457, allocations: 0 / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2457, allocations: 0 / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2457, allocations: 0 / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.026e-05/0.2458, allocations: 135.5 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.2459, allocations: 81.09 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.2459, allocations: 0 / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.2459, allocations: 3.938 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.2459, allocations: 8 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.2459, allocations: 0 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.246, allocations: 91.27 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.246, allocations: 0 / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002023/0.2462, allocations: 7.938 kB / 1.17 GB, free: 3.102 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.0004483/0.2467, allocations: 0.6965 MB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 5.42e-05/0.2467, allocations: 4 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2467, allocations: 4.094 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/0.2468, allocations: 3.938 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.2469, allocations: 15.92 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008726/0.2478, allocations: 1.171 MB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.2481, allocations: 0.6807 MB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.251e-05/0.2481, allocations: 0 / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.2482, allocations: 19.42 kB / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.2482, allocations: 0 / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.184/1.432, allocations: 1.375 MB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/15.22, allocations: 15.09 kB / 1.174 GB, free: 15.06 MB / 0.9356 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=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)