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.00149/0.00149, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001592/0.001592, allocations: 156.2 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.333/1.333, 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.002351/0.002351, allocations: 238.2 kB / 260 MB, free: 432 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.8844/0.8844, allocations: 138.5 MB / 455 MB, free: 15.07 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.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.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.002948/0.002948, allocations: 98.36 kB / 0.6473 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3701, allocations: 95.35 MB / 0.7404 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002325/0.3724, allocations: 1.501 MB / 0.7419 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3736, allocations: 1.209 MB / 0.7431 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.3736, allocations: 1.406 kB / 0.7431 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3738, allocations: 13.81 kB / 0.7431 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.3739, allocations: 48.31 kB / 0.7431 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.3741, allocations: 59.81 kB / 0.7432 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3743, allocations: 143.5 kB / 0.7433 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3744, allocations: 38.36 kB / 0.7434 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.3745, allocations: 89.02 kB / 0.7435 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.3746, allocations: 45.39 kB / 0.7435 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.3746, allocations: 12.5 kB / 0.7435 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.3747, allocations: 28.22 kB / 0.7435 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.3748, allocations: 50.08 kB / 0.7436 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.3749, allocations: 66.14 kB / 0.7437 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3751, allocations: 201.2 kB / 0.7438 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3751, allocations: 4 kB / 0.7439 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3751, allocations: 1.562 kB / 0.7439 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.3751, allocations: 3.938 kB / 0.7439 GB, free: 15.24 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005521/0.3757, allocations: 425.3 kB / 0.7443 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.3757, allocations: 10.56 kB / 0.7443 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.3758, allocations: 21.7 kB / 0.7443 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.376, allocations: 194.5 kB / 0.7445 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3761, allocations: 224.5 kB / 0.7447 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3762, allocations: 8.391 kB / 0.7447 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.3765, allocations: 268.2 kB / 0.745 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3765, allocations: 0 / 0.745 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.3765, allocations: 5.594 kB / 0.745 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.3765, allocations: 8.5 kB / 0.745 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.3766, allocations: 44.44 kB / 0.745 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.3775, allocations: 378.5 kB / 0.7454 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.3776, allocations: 31.02 kB / 0.7454 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.3776, allocations: 21.44 kB / 0.7454 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3776, allocations: 3.922 kB / 0.7454 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.3776, allocations: 34.2 kB / 0.7455 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3776, allocations: 0 / 0.7455 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0002279/0.3779, allocations: 114.1 kB / 0.7456 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.554e-05/0.3779, allocations: 53.72 kB / 0.7456 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.378, allocations: 214.6 kB / 0.7458 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3781, allocations: 35.08 kB / 0.7459 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.3781, allocations: 121.4 kB / 0.746 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.3781, allocations: 28.94 kB / 0.746 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.3782, allocations: 31.44 kB / 0.746 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.3782, allocations: 329.2 kB / 0.7463 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.3782, allocations: 26.91 kB / 0.7464 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.3783, allocations: 101.3 kB / 0.7465 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.3784, allocations: 143.9 kB / 0.7466 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3784, allocations: 1.375 kB / 0.7466 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001992/0.3786, allocations: 157.7 kB / 0.7468 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3786, allocations: 5.5 kB / 0.7468 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3786, allocations: 7.828 kB / 0.7468 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3787, allocations: 4.125 kB / 0.7468 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.3788, allocations: 26.14 kB / 0.7468 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3788, allocations: 4.828 kB / 0.7468 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.3788, allocations: 16.02 kB / 0.7468 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3788, allocations: 7.109 kB / 0.7468 GB, free: 12.8 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 8.386e-05/0.3789, allocations: 151.3 kB / 0.747 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.379, allocations: 18.31 kB / 0.747 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.3792, allocations: 114.9 kB / 0.7471 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3792, allocations: 1.312 kB / 0.7471 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3792, allocations: 2.062 kB / 0.7471 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3792, allocations: 4.547 kB / 0.7471 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.3793, allocations: 160.3 kB / 0.7473 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3793, allocations: 0 / 0.7473 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.3794, allocations: 18.5 kB / 0.7473 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3794, allocations: 0.6094 kB / 0.7473 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3794, allocations: 5.219 kB / 0.7473 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3794, allocations: 1.469 kB / 0.7473 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3794, allocations: 0 / 0.7473 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.3795, allocations: 194 kB / 0.7475 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.3795, allocations: 13.19 kB / 0.7475 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3795, allocations: 2.328 kB / 0.7475 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.3798, allocations: 17.41 kB / 0.7475 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.3798, allocations: 5.094 kB / 0.7475 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.3798, allocations: 16.08 kB / 0.7475 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001099/0.3799, allocations: 167.4 kB / 0.7477 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3799, allocations: 1.281 kB / 0.7477 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002881/0.3802, allocations: 35.48 kB / 0.7477 GB, free: 12.15 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.0001716/0.3804, allocations: 127.2 kB / 0.7478 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.3805, allocations: 73.06 kB / 0.7479 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3805, allocations: 0 / 0.7479 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.3806, allocations: 27.41 kB / 0.7479 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.3809, allocations: 25.95 kB / 0.748 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.3812, allocations: 292.9 kB / 0.7482 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.206e-05/0.3813, allocations: 127.3 kB / 0.7484 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000108/0.3814, allocations: 50.2 kB / 0.7484 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.3815, allocations: 18.86 kB / 0.7484 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.3815, allocations: 0 / 0.7484 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.005225/0.3867, allocations: 2.457 MB / 0.7508 GB, free: 11.41 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.452654224005528] Failed to read output from testmodel.py, exit status != 0: 0.3936175830895081 0.403444465 0.026081389 Calling exit ...