Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00241/0.00241, allocations: 279.5 kB / 309.8 MB, free: 3.422 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.075/1.075, allocations: 180.6 MB / 0.5338 GB, free: 12.31 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003384/0.003384, allocations: 97.58 kB / 0.7347 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5712/0.5746, allocations: 95.34 MB / 0.8278 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002531/0.5771, allocations: 1.528 MB / 0.8293 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.5784, allocations: 1.148 MB / 0.8304 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.5785, allocations: 1.188 kB / 0.8304 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.5786, allocations: 15.03 kB / 0.8304 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.5788, allocations: 42.42 kB / 0.8304 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.579, allocations: 62.84 kB / 0.8305 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.5792, allocations: 147.9 kB / 0.8306 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.5793, allocations: 51.17 kB / 0.8307 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.5794, allocations: 86.16 kB / 0.8308 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.5796, allocations: 57.02 kB / 0.8308 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.5796, allocations: 15.38 kB / 0.8308 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.5797, allocations: 29.34 kB / 0.8309 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.5797, allocations: 49.34 kB / 0.8309 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.5798, allocations: 76.66 kB / 0.831 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.5801, allocations: 192.7 kB / 0.8312 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5801, allocations: 0 / 0.8312 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5801, allocations: 0 / 0.8312 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5801, allocations: 5.344 kB / 0.8312 GB, free: 0.7773 MB / 0.5762 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.000632/0.5807, allocations: 0.4904 MB / 0.8316 GB, free: 348 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.5807, allocations: 9.891 kB / 0.8317 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.331e-05/0.5807, allocations: 3.094 kB / 0.8317 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.5808, allocations: 48.36 kB / 0.8317 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.5808, allocations: 20.23 kB / 0.8317 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.5811, allocations: 257.9 kB / 0.832 GB, free: 44 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.5813, allocations: 121.6 kB / 0.8321 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.5813, allocations: 11.88 kB / 0.8321 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.5817, allocations: 155.4 kB / 0.8322 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5817, allocations: 2.625 kB / 0.8322 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.5817, allocations: 4 kB / 0.8323 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.5817, allocations: 9.547 kB / 0.8323 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.5818, allocations: 43 kB / 0.8323 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.5829, allocations: 460.2 kB / 0.8327 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.641e-05/0.583, allocations: 35.11 kB / 0.8328 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.583, allocations: 26.03 kB / 0.8328 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.5831, allocations: 3.797 kB / 0.8328 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.5831, allocations: 37.94 kB / 0.8328 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.5831, allocations: 0 / 0.8328 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0002766/0.5834, allocations: 109.9 kB / 0.8329 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5834, allocations: 55.34 kB / 0.833 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.5836, allocations: 219 kB / 0.8332 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.5837, allocations: 27.73 kB / 0.8332 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.5838, allocations: 124.7 kB / 0.8334 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.5838, allocations: 30.22 kB / 0.8334 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.5838, allocations: 34.08 kB / 0.8334 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.584, allocations: 324.6 kB / 0.8337 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.5841, allocations: 30.45 kB / 0.8338 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.5842, allocations: 95.62 kB / 0.8338 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.5843, allocations: 147.5 kB / 0.834 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5843, allocations: 0.5156 kB / 0.834 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002493/0.5846, allocations: 154.2 kB / 0.8341 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5846, allocations: 5.156 kB / 0.8341 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.5846, allocations: 3.516 kB / 0.8341 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.5846, allocations: 5.438 kB / 0.8341 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5847, allocations: 28.88 kB / 0.8342 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.5847, allocations: 4.438 kB / 0.8342 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.326e-05/0.5848, allocations: 12.92 kB / 0.8342 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.5848, allocations: 6.219 kB / 0.8342 GB, free: 14.29 MB / 0.5919 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.000133/0.585, allocations: 153.8 kB / 0.8343 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.585, allocations: 15.77 kB / 0.8344 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.5852, allocations: 114.2 kB / 0.8345 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5852, allocations: 6.031 kB / 0.8345 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5853, allocations: 0 / 0.8345 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5853, allocations: 1.266 kB / 0.8345 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.5855, allocations: 231.5 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5855, allocations: 2.359 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.5856, allocations: 16.78 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5856, allocations: 4.797 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5856, allocations: 1.938 kB / 0.8347 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.5856, allocations: 8.688 kB / 0.8347 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5856, allocations: 1.5 kB / 0.8347 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.5858, allocations: 192.5 kB / 0.8349 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.5859, allocations: 85.75 kB / 0.835 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.5859, allocations: 0.8125 kB / 0.835 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.5862, allocations: 28.95 kB / 0.835 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.5862, allocations: 7.719 kB / 0.835 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.5862, allocations: 8.938 kB / 0.835 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001546/0.5864, allocations: 159.7 kB / 0.8352 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5864, allocations: 0 / 0.8352 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003068/0.5867, allocations: 31.67 kB / 0.8352 GB, free: 13.47 MB / 0.5919 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.0006781/0.5874, allocations: 0.7576 MB / 0.836 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.5876, allocations: 77.33 kB / 0.836 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5876, allocations: 0 / 0.836 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.233e-05/0.5876, allocations: 23.88 kB / 0.8361 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.5879, allocations: 20.91 kB / 0.8361 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.59, allocations: 1.925 MB / 0.838 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.5904, allocations: 0.7307 MB / 0.8387 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.5905, allocations: 57.92 kB / 0.8387 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.5906, allocations: 46.94 kB / 0.8388 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.5906, allocations: 0 / 0.8388 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.6136, allocations: 4.286 MB / 0.843 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.945, allocations: 17.66 kB / 0.843 GB, free: 9.809 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.072543123969808] Failed to read output from testmodel.py, exit status != 0: 9.086464310006704 9.10353093 8.520226863 Calling exit ...