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.001621/0.001621, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.001981/0.001981, allocations: 163 kB / 22.46 MB, free: 5.375 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.45/1.45, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.002445/0.002445, allocations: 237 kB / 259.4 MB, free: 468 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 1.057/1.057, allocations: 138.4 MB / 454.3 MB, free: 1.977 MB / 366.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: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.622e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002607/0.002633, allocations: 1.386 MB / 0.6481 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.002787, allocations: 35.78 kB / 0.6482 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.002826, allocations: 0 / 0.6482 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.002987, allocations: 15.91 kB / 0.6482 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.003103, allocations: 11.94 kB / 0.6482 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.003106, allocations: 4 kB / 0.6482 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.003158, allocations: 15.86 kB / 0.6482 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.003196, allocations: 8 kB / 0.6482 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.003238, allocations: 7.984 kB / 0.6482 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.003282, allocations: 7.984 kB / 0.6482 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.003296, allocations: 0 / 0.6482 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.512e-05/0.003341, allocations: 15.94 kB / 0.6483 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.003378, allocations: 7.922 kB / 0.6483 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.003394, allocations: 4 kB / 0.6483 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.003482, allocations: 27.84 kB / 0.6483 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003484, allocations: 4 kB / 0.6483 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003484, allocations: 0 / 0.6483 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.003488, allocations: 0 / 0.6483 GB, free: 3.461 MB / 0.5606 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.0003171/0.003805, allocations: 254.3 kB / 0.6485 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.003835, allocations: 9.344 kB / 0.6485 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.003858, allocations: 4.875 kB / 0.6485 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.004002, allocations: 117.7 kB / 0.6487 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.004011, allocations: 4.375 kB / 0.6487 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.004017, allocations: 384 / 0.6487 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.004089, allocations: 30.27 kB / 0.6487 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.004096, allocations: 192 / 0.6487 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.004101, allocations: 8.312 kB / 0.6487 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.00412, allocations: 384 / 0.6487 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.821e-05/0.004139, allocations: 3.938 kB / 0.6487 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.004302, allocations: 109.3 kB / 0.6488 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.004349, allocations: 22.52 kB / 0.6488 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.004367, allocations: 8.922 kB / 0.6488 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.004385, allocations: 0 / 0.6488 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.004411, allocations: 30.56 kB / 0.6489 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.004412, allocations: 0 / 0.6489 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.004545, allocations: 41.78 kB / 0.6489 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.004586, allocations: 59.38 kB / 0.649 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.004698, allocations: 113.8 kB / 0.6491 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.00472, allocations: 29.64 kB / 0.6491 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.004766, allocations: 88.14 kB / 0.6492 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.004782, allocations: 3.953 kB / 0.6492 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.004811, allocations: 13.72 kB / 0.6492 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.004953, allocations: 318.8 kB / 0.6495 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.004962, allocations: 0 / 0.6495 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.00497, allocations: 4 kB / 0.6495 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.004998, allocations: 12.92 kB / 0.6495 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005, allocations: 0 / 0.6495 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.187e-05/0.005072, allocations: 41.62 kB / 0.6496 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.005086, allocations: 8 kB / 0.6496 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.005089, allocations: 0 / 0.6496 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.005101, allocations: 0 / 0.6496 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.213e-05/0.005143, allocations: 0 / 0.6496 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.005149, allocations: 4 kB / 0.6496 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.005166, allocations: 7.875 kB / 0.6496 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.005171, allocations: 0 / 0.6496 GB, free: 1.965 MB / 0.5606 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 8.077e-05/0.005252, allocations: 109.9 kB / 0.6497 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.005264, allocations: 7.953 kB / 0.6497 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.686e-05/0.00536, allocations: 45.16 kB / 0.6497 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.005362, allocations: 0 / 0.6497 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.005366, allocations: 0 / 0.6497 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.00537, allocations: 3.938 kB / 0.6497 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.382e-05/0.005464, allocations: 101.3 kB / 0.6498 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005465, allocations: 0 / 0.6498 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.611e-05/0.005481, allocations: 11.94 kB / 0.6498 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.005482, allocations: 0 / 0.6498 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.005488, allocations: 0 / 0.6498 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.005489, allocations: 7.969 kB / 0.6499 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005489, allocations: 0 / 0.6499 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.005572, allocations: 65.06 kB / 0.6499 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.005586, allocations: 7.953 kB / 0.6499 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.005597, allocations: 0 / 0.6499 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-06/0.005606, allocations: 0 / 0.6499 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.005616, allocations: 0 / 0.6499 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.005618, allocations: 0 / 0.6499 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.055e-05/0.005688, allocations: 99.5 kB / 0.65 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.005689, allocations: 4 kB / 0.65 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000183/0.005872, allocations: 11.97 kB / 0.65 GB, free: 1.426 MB / 0.5606 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.0001959/0.006068, allocations: 116.2 kB / 0.6501 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.751e-05/0.006125, allocations: 7.938 kB / 0.6502 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006126, allocations: 0 / 0.6502 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-06/0.006135, allocations: 4.062 kB / 0.6502 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.006263, allocations: 6.719 kB / 0.6502 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.006511, allocations: 104.8 kB / 0.6503 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.006567, allocations: 63.34 kB / 0.6503 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.051e-05/0.006607, allocations: 7.938 kB / 0.6503 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.006629, allocations: 12.48 kB / 0.6503 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.006629, allocations: 0 / 0.6503 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of Templates: time 0.002616/0.009245, allocations: 0.4937 MB / 0.6508 GB, free: 0.5742 MB / 0.5606 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.754952788352966] Failed to read output from testmodel.py, exit status != 0: 0.2607632242143154 0.279136851 0.272176215 Calling exit ...