Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001518/0.001518, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.001628/0.001628, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.941 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.002347/0.002347, allocations: 238 kB / 260 MB, free: 440 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.8867/0.8867, allocations: 138.5 MB / 455 MB, free: 15.09 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") [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.002907/0.002907, allocations: 95.86 kB / 0.6473 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.37, allocations: 95.35 MB / 0.7404 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002162/0.3721, allocations: 1.4 MB / 0.7418 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.3723, allocations: 38.28 kB / 0.7418 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.3723, allocations: 1.312 kB / 0.7418 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.3725, allocations: 10.72 kB / 0.7418 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.3725, allocations: 18.5 kB / 0.7419 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.3726, allocations: 0 / 0.7419 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.683e-05/0.3726, allocations: 18.17 kB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.3726, allocations: 1.875 kB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.3727, allocations: 8.281 kB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.3727, allocations: 13.52 kB / 0.7419 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3727, allocations: 1.031 kB / 0.7419 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 4.175e-05/0.3728, allocations: 16.66 kB / 0.7419 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.369e-05/0.3728, allocations: 2.422 kB / 0.7419 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.3728, allocations: 13.36 kB / 0.7419 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 8.957e-05/0.3729, allocations: 27.17 kB / 0.742 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3729, allocations: 0.75 kB / 0.742 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3729, allocations: 0 / 0.742 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.3729, allocations: 1.031 kB / 0.742 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.0002188/0.3731, allocations: 261.6 kB / 0.7422 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.3732, allocations: 14.69 kB / 0.7422 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.3732, allocations: 3.75 kB / 0.7422 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3733, allocations: 122 kB / 0.7423 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3733, allocations: 5.625 kB / 0.7423 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.3733, allocations: 384 / 0.7423 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.161e-05/0.3734, allocations: 34.94 kB / 0.7424 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3734, allocations: 0.8438 kB / 0.7424 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.3734, allocations: 13.08 kB / 0.7424 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3734, allocations: 1.25 kB / 0.7424 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.3734, allocations: 1.938 kB / 0.7424 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.148e-05/0.3735, allocations: 104.9 kB / 0.7425 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.207e-05/0.3735, allocations: 26.52 kB / 0.7425 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.257e-05/0.3736, allocations: 5.922 kB / 0.7425 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3736, allocations: 1.734 kB / 0.7425 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.3736, allocations: 32.41 kB / 0.7426 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3736, allocations: 0 / 0.7426 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001017/0.3737, allocations: 42.47 kB / 0.7426 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.3737, allocations: 52.47 kB / 0.7427 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.3738, allocations: 127.3 kB / 0.7428 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.3738, allocations: 26.73 kB / 0.7428 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.679e-05/0.3738, allocations: 90.16 kB / 0.7429 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.3738, allocations: 5.5 kB / 0.7429 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.3738, allocations: 12.58 kB / 0.7429 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.177e-05/0.3739, allocations: 313.4 kB / 0.7432 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.3739, allocations: 5.188 kB / 0.7432 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.3739, allocations: 2.922 kB / 0.7432 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.078e-05/0.3739, allocations: 10.58 kB / 0.7432 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3739, allocations: 0 / 0.7432 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.589e-05/0.374, allocations: 37.88 kB / 0.7433 GB, free: 15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.374, allocations: 9.969 kB / 0.7433 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.374, allocations: 0 / 0.7433 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.374, allocations: 9.219 kB / 0.7433 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.914e-05/0.374, allocations: 5.688 kB / 0.7433 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.374, allocations: 1.688 kB / 0.7433 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.374, allocations: 0 / 0.7433 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.3741, allocations: 1.219 kB / 0.7433 GB, free: 14.99 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.545e-05/0.3741, allocations: 109.5 kB / 0.7434 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-06/0.3741, allocations: 5.047 kB / 0.7434 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.3742, allocations: 43.16 kB / 0.7434 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3742, allocations: 13.19 kB / 0.7434 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3742, allocations: 0.75 kB / 0.7434 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.3742, allocations: 0 / 0.7434 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.231e-05/0.3742, allocations: 109.1 kB / 0.7435 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3742, allocations: 0.7031 kB / 0.7435 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.3742, allocations: 2.156 kB / 0.7435 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3742, allocations: 1.062 kB / 0.7436 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.3742, allocations: 0.5625 kB / 0.7436 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3742, allocations: 4.969 kB / 0.7436 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3742, allocations: 4.453 kB / 0.7436 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.036e-05/0.3743, allocations: 68.7 kB / 0.7436 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.3743, allocations: 5.109 kB / 0.7436 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.3743, allocations: 1.875 kB / 0.7436 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-06/0.3743, allocations: 0 / 0.7436 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-06/0.3743, allocations: 5.797 kB / 0.7436 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3743, allocations: 1.984 kB / 0.7436 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.3744, allocations: 90.41 kB / 0.7437 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.3744, allocations: 0 / 0.7437 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001826/0.3745, allocations: 9 kB / 0.7437 GB, free: 14.52 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.0001367/0.3747, allocations: 112.1 kB / 0.7438 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.687e-05/0.3747, allocations: 9.562 kB / 0.7439 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3747, allocations: 1.031 kB / 0.7439 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.646e-06/0.3748, allocations: 2.812 kB / 0.7439 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.3749, allocations: 8.516 kB / 0.7439 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.3751, allocations: 117.1 kB / 0.744 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.3751, allocations: 62.78 kB / 0.744 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.3751, allocations: 3.734 kB / 0.744 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.3752, allocations: 11.09 kB / 0.744 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.3752, allocations: 0 / 0.744 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.002457/0.3776, allocations: 0.5067 MB / 0.7445 GB, free: 14.1 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4460570610826835] Failed to read output from testmodel.py, exit status != 0: 0.3846808859379962 0.39440134699999996 0.019234109000000003 Calling exit ...