Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WeeklySchedule,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_10_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.005288/0.005288, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001184/0.001184, allocations: 190.6 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.351/2.351, allocations: 437.1 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2436, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002647/0.2462, allocations: 1.492 MB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2476, allocations: 1.109 MB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.2476, allocations: 4 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.2478, allocations: 27.84 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.248, allocations: 35.78 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.2482, allocations: 51.92 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.2483, allocations: 151.5 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2485, allocations: 65.08 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.2486, allocations: 71.78 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2487, allocations: 55.75 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.2488, allocations: 16 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.2488, allocations: 24 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.2489, allocations: 55.75 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.249, allocations: 71.58 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2492, allocations: 198.2 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.2492, allocations: 4 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2493, allocations: 3.938 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2493, allocations: 0 / 1.169 GB, free: 3.867 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005941/0.2499, allocations: 495.5 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2499, allocations: 12.03 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.25, allocations: 46.72 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.25, allocations: 24.59 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.2503, allocations: 247.9 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.2504, allocations: 119.4 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.2504, allocations: 4.375 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.2507, allocations: 165.5 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2508, allocations: 4 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.2508, allocations: 0 / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.2508, allocations: 8 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.2509, allocations: 47.91 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.2518, allocations: 464.3 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.2519, allocations: 34.52 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.2519, allocations: 24.84 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.2519, allocations: 8.141 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.252, allocations: 34.55 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.252, allocations: 0 / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0002348/0.2522, allocations: 105.5 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.2523, allocations: 67.28 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.2525, allocations: 211.8 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.2525, allocations: 25.7 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.2526, allocations: 124.2 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.2526, allocations: 27.56 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.2527, allocations: 33.7 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.2528, allocations: 326.8 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.2528, allocations: 27.98 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.2529, allocations: 98.28 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.2531, allocations: 142.1 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2531, allocations: 0 / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002121/0.2533, allocations: 149.7 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2533, allocations: 14.17 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2533, allocations: 4 kB / 1.172 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2533, allocations: 4 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.2534, allocations: 23.94 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.2535, allocations: 11.92 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.2535, allocations: 15.84 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2535, allocations: 8 kB / 1.173 GB, free: 456 kB / 0.92 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.0001021/0.2536, allocations: 137.8 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.2537, allocations: 15.81 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.2539, allocations: 131 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2539, allocations: 0 / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2539, allocations: 3.938 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2539, allocations: 3.984 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.2541, allocations: 229.5 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2542, allocations: 0 / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.2542, allocations: 15.98 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2542, allocations: 0 / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2542, allocations: 8 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2542, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2542, allocations: 3.938 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.2544, allocations: 187.7 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.2545, allocations: 88.95 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2545, allocations: 3.984 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.2547, allocations: 19.98 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.2547, allocations: 15.91 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.2548, allocations: 11.98 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001279/0.2549, allocations: 160.2 kB / 1.173 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2549, allocations: 0 / 1.173 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002821/0.2552, allocations: 35.84 kB / 1.174 GB, free: 15.29 MB / 0.9356 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.0005024/0.2557, allocations: 0.755 MB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.2559, allocations: 67.84 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2559, allocations: 0 / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.2559, allocations: 23.98 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.2562, allocations: 26.73 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2578, allocations: 1.916 MB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.2581, allocations: 0.7275 MB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.2582, allocations: 64.81 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.2582, allocations: 43.42 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2582, allocations: 0 / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.724/1.983, allocations: 4.226 MB / 1.181 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/12.31, allocations: 18.11 kB / 1.181 GB, free: 7.359 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)