Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.001491/0.001491, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001536/0.001536, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.309/1.309, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.00236/0.00236, allocations: 230 kB / 260 MB, free: 476 kB / 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 0.877/0.877, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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: translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") [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.002965/0.002965, allocations: 95.86 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3665, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002292/0.3688, allocations: 1.376 MB / 0.7418 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001403/0.369, allocations: 37.77 kB / 0.7418 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.369, allocations: 0 / 0.7418 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3691, allocations: 12 kB / 0.7418 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.52e-05/0.3692, allocations: 13.69 kB / 0.7418 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.3692, allocations: 0 / 0.7418 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.3693, allocations: 12.69 kB / 0.7419 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.3693, allocations: 2.547 kB / 0.7419 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.3694, allocations: 13.36 kB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.3694, allocations: 16.52 kB / 0.7419 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3694, allocations: 1.094 kB / 0.7419 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 4.151e-05/0.3695, allocations: 15.3 kB / 0.7419 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.3695, allocations: 6.031 kB / 0.7419 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.3695, allocations: 7.188 kB / 0.7419 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 8.561e-05/0.3696, allocations: 24.98 kB / 0.7419 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3696, allocations: 1.156 kB / 0.7419 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3696, allocations: 0 / 0.7419 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3696, allocations: 0 / 0.7419 GB, free: 16.39 MB / 0.5919 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.0002342/0.3698, allocations: 260.1 kB / 0.7422 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3699, allocations: 11.05 kB / 0.7422 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.3699, allocations: 2.25 kB / 0.7422 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.37, allocations: 118.2 kB / 0.7423 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.37, allocations: 4.375 kB / 0.7423 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.37, allocations: 1.375 kB / 0.7423 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.626e-05/0.3701, allocations: 38 kB / 0.7424 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3701, allocations: 192 / 0.7424 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.3701, allocations: 4.969 kB / 0.7424 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3701, allocations: 5.438 kB / 0.7424 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.3702, allocations: 7.094 kB / 0.7424 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.429e-05/0.3702, allocations: 103.3 kB / 0.7425 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.598e-05/0.3703, allocations: 16.62 kB / 0.7425 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.3703, allocations: 8.047 kB / 0.7425 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.3703, allocations: 4.844 kB / 0.7425 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.3703, allocations: 31.94 kB / 0.7425 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3703, allocations: 0 / 0.7425 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000106/0.3704, allocations: 46.16 kB / 0.7426 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.649e-05/0.3704, allocations: 53.28 kB / 0.7426 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.3705, allocations: 118 kB / 0.7427 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.3705, allocations: 27.72 kB / 0.7428 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/0.3705, allocations: 86.06 kB / 0.7428 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3706, allocations: 5.203 kB / 0.7429 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.3706, allocations: 12.06 kB / 0.7429 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.3706, allocations: 322 kB / 0.7432 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.3706, allocations: 1.156 kB / 0.7432 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-06/0.3706, allocations: 2.906 kB / 0.7432 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.3706, allocations: 13.16 kB / 0.7432 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3706, allocations: 0 / 0.7432 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.888e-05/0.3707, allocations: 34.98 kB / 0.7432 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.3707, allocations: 4.5 kB / 0.7432 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3707, allocations: 1.828 kB / 0.7432 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3707, allocations: 4.031 kB / 0.7432 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.241e-05/0.3708, allocations: 10.98 kB / 0.7432 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.3708, allocations: 0 / 0.7432 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.3708, allocations: 1.25 kB / 0.7432 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.3708, allocations: 4.5 kB / 0.7432 GB, free: 15.01 MB / 0.5919 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 3.691e-05/0.3708, allocations: 113.3 kB / 0.7434 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.3708, allocations: 6.844 kB / 0.7434 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.3709, allocations: 46.11 kB / 0.7434 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3709, allocations: 5.125 kB / 0.7434 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3709, allocations: 0 / 0.7434 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3709, allocations: 4.547 kB / 0.7434 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.495e-05/0.371, allocations: 108.9 kB / 0.7435 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.371, allocations: 0 / 0.7435 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/0.371, allocations: 3.062 kB / 0.7435 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.371, allocations: 3.938 kB / 0.7435 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.371, allocations: 1 kB / 0.7435 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.371, allocations: 0.5625 kB / 0.7435 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.371, allocations: 5.188 kB / 0.7435 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.098e-05/0.371, allocations: 64.41 kB / 0.7436 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.371, allocations: 5.703 kB / 0.7436 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.371, allocations: 1.766 kB / 0.7436 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-06/0.3711, allocations: 4 kB / 0.7436 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.3711, allocations: 5.609 kB / 0.7436 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.3711, allocations: 0 / 0.7436 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.3711, allocations: 91.78 kB / 0.7437 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3711, allocations: 0 / 0.7437 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001825/0.3713, allocations: 7.5 kB / 0.7437 GB, free: 14.54 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 (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.0001519/0.3714, allocations: 111.9 kB / 0.7438 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.236e-05/0.3715, allocations: 5.438 kB / 0.7438 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3715, allocations: 1 kB / 0.7438 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-06/0.3715, allocations: 2.922 kB / 0.7438 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.3716, allocations: 0.9688 kB / 0.7438 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.3718, allocations: 113.8 kB / 0.7439 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/0.3719, allocations: 60.72 kB / 0.744 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.3719, allocations: 13.36 kB / 0.744 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.3719, allocations: 10.7 kB / 0.744 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.3719, allocations: 0 / 0.744 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.002563/0.3745, allocations: 488.7 kB / 0.7445 GB, free: 14.14 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3519392310408875] Failed to read output from testmodel.py, exit status != 0: 0.38151089497841895 0.391897071 0.019979687000000003 Calling exit ...