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.001265/0.001265, allocations: 77.86 kB / 19.18 MB, free: 2.531 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.001404/0.001404, allocations: 169.6 kB / 22.46 MB, free: 5.363 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.425/1.425, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.002521/0.002521, allocations: 246.8 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.072/1.072, allocations: 138.4 MB / 454.3 MB, free: 2.008 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.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 1.262e-06/1.262e-06, allocations: 0 / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.584e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002584/0.00261, allocations: 1.398 MB / 0.6481 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001626/0.002773, allocations: 43.77 kB / 0.6482 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.002812, allocations: 0 / 0.6482 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.002969, allocations: 7.922 kB / 0.6482 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.003083, allocations: 11.94 kB / 0.6482 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.003087, allocations: 0 / 0.6482 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.003162, allocations: 23.86 kB / 0.6482 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.003202, allocations: 3.984 kB / 0.6482 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.003246, allocations: 19.92 kB / 0.6482 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.003299, allocations: 4 kB / 0.6482 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.003318, allocations: 4 kB / 0.6482 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.003368, allocations: 11.94 kB / 0.6483 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.003406, allocations: 11.92 kB / 0.6483 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.003426, allocations: 0 / 0.6483 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.003536, allocations: 35.89 kB / 0.6483 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003538, allocations: 0 / 0.6483 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003539, allocations: 0 / 0.6483 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.003542, allocations: 0 / 0.6483 GB, free: 3.457 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.0003409/0.003883, allocations: 262.2 kB / 0.6486 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.003918, allocations: 9.344 kB / 0.6486 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.003949, allocations: 0.9375 kB / 0.6486 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.004126, allocations: 125.7 kB / 0.6487 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.004135, allocations: 384 / 0.6487 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.004142, allocations: 384 / 0.6487 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.004226, allocations: 34.2 kB / 0.6487 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.004234, allocations: 192 / 0.6487 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.00424, allocations: 384 / 0.6487 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.004257, allocations: 384 / 0.6487 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.004281, allocations: 11.94 kB / 0.6487 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.004427, allocations: 105.3 kB / 0.6488 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/0.004473, allocations: 18.58 kB / 0.6488 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.004502, allocations: 8.922 kB / 0.6489 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.004521, allocations: 0 / 0.6489 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.004551, allocations: 34.5 kB / 0.6489 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.004552, allocations: 0 / 0.6489 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001342/0.004686, allocations: 41.69 kB / 0.6489 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.004742, allocations: 59.34 kB / 0.649 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.00486, allocations: 117.8 kB / 0.6491 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.004877, allocations: 25.7 kB / 0.6491 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.004928, allocations: 84.27 kB / 0.6492 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.00495, allocations: 7.953 kB / 0.6492 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.004981, allocations: 13.72 kB / 0.6492 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.005125, allocations: 314.8 kB / 0.6495 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.005137, allocations: 4 kB / 0.6495 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.005147, allocations: 3.938 kB / 0.6495 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.005175, allocations: 12.86 kB / 0.6495 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005176, allocations: 0 / 0.6495 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.699e-05/0.005243, allocations: 37.69 kB / 0.6496 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.005257, allocations: 11.06 kB / 0.6496 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005261, allocations: 4 kB / 0.6496 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.005272, allocations: 3.938 kB / 0.6496 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.005315, allocations: 0 / 0.6496 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.005319, allocations: 0 / 0.6496 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.005335, allocations: 3.938 kB / 0.6496 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.005341, allocations: 4 kB / 0.6496 GB, free: 1.953 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.714e-05/0.005428, allocations: 109.8 kB / 0.6497 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.005442, allocations: 7.953 kB / 0.6497 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.005543, allocations: 49.03 kB / 0.6498 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005544, allocations: 4.031 kB / 0.6498 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.005548, allocations: 4 kB / 0.6498 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.005556, allocations: 7.938 kB / 0.6498 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.005656, allocations: 105.3 kB / 0.6499 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005657, allocations: 0 / 0.6499 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.00567, allocations: 0 / 0.6499 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.005676, allocations: 4 kB / 0.6499 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.005682, allocations: 0 / 0.6499 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005684, allocations: 0 / 0.6499 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005684, allocations: 0 / 0.6499 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.044e-05/0.005775, allocations: 73 kB / 0.65 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.005789, allocations: 11.94 kB / 0.65 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.0058, allocations: 0 / 0.65 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.005811, allocations: 0 / 0.65 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.005821, allocations: 3.938 kB / 0.65 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.005823, allocations: 0 / 0.65 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.08e-05/0.005904, allocations: 99.27 kB / 0.6501 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.005904, allocations: 0 / 0.6501 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001932/0.006097, allocations: 3.938 kB / 0.6501 GB, free: 1.406 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.0001865/0.006284, allocations: 113.5 kB / 0.6502 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.00635, allocations: 7.938 kB / 0.6502 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.006354, allocations: 4 kB / 0.6502 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.006367, allocations: 7.938 kB / 0.6502 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.006504, allocations: 4 kB / 0.6502 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.006776, allocations: 108.9 kB / 0.6503 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.028e-05/0.006836, allocations: 63.34 kB / 0.6504 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.277e-05/0.006879, allocations: 3.984 kB / 0.6504 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.006901, allocations: 12.5 kB / 0.6504 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.006902, allocations: 0 / 0.6504 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of Templates: time 0.002947/0.009848, allocations: 0.5177 MB / 0.6509 GB, free: 0.5234 MB / 0.5606 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.677682712674141] Failed to read output from testmodel.py, exit status != 0: 0.2762594074010849 0.285681075 0.279830782 Calling exit ...