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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 192.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002282/0.002282, allocations: 289.6 kB / 303.6 MB, free: 3.75 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9973/0.9973, allocations: 180.9 MB / 0.5268 GB, free: 2.711 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: 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: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 99.84 kB / 0.7259 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.5304, allocations: 94.15 MB / 0.8178 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002155/0.5326, allocations: 1.369 MB / 0.8192 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.5327, allocations: 49.75 kB / 0.8192 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.5328, allocations: 0 / 0.8192 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.5329, allocations: 9.297 kB / 0.8192 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.533, allocations: 19.2 kB / 0.8193 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.533, allocations: 0 / 0.8193 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.5331, allocations: 18.7 kB / 0.8193 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.5331, allocations: 5.188 kB / 0.8193 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.5331, allocations: 15.47 kB / 0.8193 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.5332, allocations: 10.88 kB / 0.8193 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.5332, allocations: 1.406 kB / 0.8193 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.372e-05/0.5332, allocations: 14.66 kB / 0.8193 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.5333, allocations: 2 kB / 0.8193 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.5333, allocations: 9.969 kB / 0.8193 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.678e-05/0.5334, allocations: 32.17 kB / 0.8194 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5334, allocations: 0.9062 kB / 0.8194 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5334, allocations: 0 / 0.8194 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5334, allocations: 5.156 kB / 0.8194 GB, free: 6.387 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002514/0.5337, allocations: 341.1 kB / 0.8197 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.5337, allocations: 9.938 kB / 0.8197 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.5337, allocations: 5.672 kB / 0.8197 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.5338, allocations: 168.4 kB / 0.8199 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-06/0.5338, allocations: 384 / 0.8199 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.5339, allocations: 1.438 kB / 0.8199 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.618e-05/0.5339, allocations: 36.16 kB / 0.8199 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5339, allocations: 12.11 kB / 0.8199 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.5339, allocations: 4.719 kB / 0.8199 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.534, allocations: 0.7812 kB / 0.8199 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.534, allocations: 6.625 kB / 0.8199 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/0.5341, allocations: 152.5 kB / 0.8201 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.022e-05/0.5341, allocations: 17.11 kB / 0.8201 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.5341, allocations: 6.578 kB / 0.8201 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.5341, allocations: 3.891 kB / 0.8201 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.058e-05/0.5341, allocations: 35.28 kB / 0.8201 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.5341, allocations: 4.5 kB / 0.8201 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.5343, allocations: 44.81 kB / 0.8202 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.5343, allocations: 52.22 kB / 0.8202 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.5344, allocations: 117.6 kB / 0.8203 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.5344, allocations: 25.7 kB / 0.8204 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.751e-05/0.5344, allocations: 86.08 kB / 0.8204 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.5344, allocations: 4.938 kB / 0.8204 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.5344, allocations: 11.25 kB / 0.8205 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.5345, allocations: 315.6 kB / 0.8208 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.5345, allocations: 5.281 kB / 0.8208 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.5345, allocations: 1.906 kB / 0.8208 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.123e-05/0.5345, allocations: 12.55 kB / 0.8208 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5345, allocations: 0 / 0.8208 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.712e-05/0.5345, allocations: 48.8 kB / 0.8208 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.5346, allocations: 7.219 kB / 0.8208 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.5346, allocations: 3.938 kB / 0.8208 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5346, allocations: 4.75 kB / 0.8208 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.101e-05/0.5346, allocations: 2.062 kB / 0.8208 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.5346, allocations: 0 / 0.8208 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.5346, allocations: 0 / 0.8208 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.5346, allocations: 1.469 kB / 0.8208 GB, free: 4.77 MB / 0.5762 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.78e-05/0.5347, allocations: 108.1 kB / 0.8209 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.5347, allocations: 12.88 kB / 0.821 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.931e-05/0.5348, allocations: 51.55 kB / 0.821 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5348, allocations: 0.6562 kB / 0.821 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5348, allocations: 3.422 kB / 0.821 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.5348, allocations: 0.6875 kB / 0.821 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.31e-05/0.5348, allocations: 157.6 kB / 0.8212 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5348, allocations: 0 / 0.8212 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.5348, allocations: 2.062 kB / 0.8212 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.5348, allocations: 0 / 0.8212 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.5348, allocations: 4.688 kB / 0.8212 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5348, allocations: 9.797 kB / 0.8212 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5348, allocations: 0 / 0.8212 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.278e-05/0.5349, allocations: 68.14 kB / 0.8212 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.5349, allocations: 78.55 kB / 0.8213 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.5349, allocations: 4.781 kB / 0.8213 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-06/0.5349, allocations: 3.562 kB / 0.8213 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.5349, allocations: 1.312 kB / 0.8213 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.5349, allocations: 4.031 kB / 0.8213 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.535, allocations: 92.86 kB / 0.8214 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.535, allocations: 0.9062 kB / 0.8214 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001717/0.5352, allocations: 2.781 kB / 0.8214 GB, free: 4.133 MB / 0.5762 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.0001614/0.5353, allocations: 112.5 kB / 0.8215 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.742e-05/0.5354, allocations: 9.312 kB / 0.8215 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.5354, allocations: 0.5938 kB / 0.8215 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.937e-06/0.5354, allocations: 3.219 kB / 0.8215 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.5355, allocations: 10.5 kB / 0.8216 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.5357, allocations: 138.8 kB / 0.8217 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.486e-05/0.5358, allocations: 0.6778 MB / 0.8223 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.5358, allocations: 13.09 kB / 0.8224 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.5358, allocations: 1.281 kB / 0.8224 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.002131/0.538, allocations: 0.7714 MB / 0.8231 GB, free: 3.094 MB / 0.5762 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.250033081043512] Failed to read output from testmodel.py, exit status != 0: 0.5448302410077304 0.554822773 0.018776156000000002 Calling exit ...