Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.00129/0.00129, allocations: 81.34 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.001474/0.001474, allocations: 173.8 kB / 22.46 MB, free: 5.352 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.388/1.388, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.002454/0.002454, allocations: 232 kB / 259.4 MB, free: 492 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.051/1.051, allocations: 138.4 MB / 454.3 MB, free: 2.023 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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6467 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.447e-05, allocations: 6.281 kB / 0.6467 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001594/0.001619, allocations: 0.6112 MB / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 3.572e-05/0.001655, allocations: 0 / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.001672, allocations: 0 / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.001694, allocations: 0 / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.001699, allocations: 0 / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.732e-05/0.001736, allocations: 0 / 0.6473 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.808e-05/0.001784, allocations: 15.94 kB / 0.6474 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.00183, allocations: 3.984 kB / 0.6474 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.622e-05/0.001856, allocations: 0 / 0.6474 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.001878, allocations: 3.984 kB / 0.6474 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.001889, allocations: 0 / 0.6474 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.056e-06/0.001892, allocations: 3.938 kB / 0.6474 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.759e-06/0.001902, allocations: 0 / 0.6474 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.001916, allocations: 7.938 kB / 0.6474 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 4.336e-05/0.001959, allocations: 0 / 0.6474 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.001961, allocations: 0 / 0.6474 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001962, allocations: 0 / 0.6474 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.001965, allocations: 4 kB / 0.6474 GB, free: 4.422 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.0002725/0.002238, allocations: 230.5 kB / 0.6476 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.002272, allocations: 8.625 kB / 0.6476 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.002295, allocations: 4.938 kB / 0.6476 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.796e-05/0.002383, allocations: 109.8 kB / 0.6477 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.002394, allocations: 384 / 0.6477 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.002401, allocations: 384 / 0.6477 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.106e-05/0.002493, allocations: 26.27 kB / 0.6477 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.0025, allocations: 4.188 kB / 0.6477 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.002507, allocations: 384 / 0.6477 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.002515, allocations: 4.375 kB / 0.6478 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.002533, allocations: 3.938 kB / 0.6478 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.002646, allocations: 101.3 kB / 0.6479 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.002692, allocations: 18.58 kB / 0.6479 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.002713, allocations: 8.953 kB / 0.6479 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.002722, allocations: 0 / 0.6479 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.002755, allocations: 34.55 kB / 0.6479 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.002756, allocations: 0 / 0.6479 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001124/0.002868, allocations: 33.64 kB / 0.6479 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.002909, allocations: 59.53 kB / 0.648 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/0.002951, allocations: 89.86 kB / 0.6481 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.002992, allocations: 29.7 kB / 0.6481 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.003027, allocations: 80.14 kB / 0.6482 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.00305, allocations: 0 / 0.6482 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.003078, allocations: 9.719 kB / 0.6482 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.003235, allocations: 318.8 kB / 0.6485 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-06/0.003242, allocations: 3.938 kB / 0.6485 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.003247, allocations: 0 / 0.6485 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.003285, allocations: 16.84 kB / 0.6485 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.003289, allocations: 8.062 kB / 0.6485 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.046e-05/0.003349, allocations: 33.64 kB / 0.6486 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.003367, allocations: 11.94 kB / 0.6486 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.003371, allocations: 0 / 0.6486 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.003383, allocations: 0 / 0.6486 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.379e-05/0.003427, allocations: 0 / 0.6486 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.003431, allocations: 0 / 0.6486 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.003443, allocations: 3.938 kB / 0.6486 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.003447, allocations: 4 kB / 0.6486 GB, free: 3.016 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 7.348e-05/0.003521, allocations: 105.8 kB / 0.6487 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/0.003528, allocations: 8.016 kB / 0.6487 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.003546, allocations: 3 kB / 0.6487 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.003548, allocations: 0 / 0.6487 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.003553, allocations: 4 kB / 0.6487 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.003555, allocations: 0 / 0.6487 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.472e-05/0.003639, allocations: 101.3 kB / 0.6488 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.00364, allocations: 0 / 0.6488 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.003651, allocations: 0 / 0.6488 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.003652, allocations: 4 kB / 0.6488 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-06/0.003657, allocations: 0 / 0.6488 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.003658, allocations: 0 / 0.6488 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.003659, allocations: 4 kB / 0.6488 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.217e-05/0.003741, allocations: 68.98 kB / 0.6489 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.003751, allocations: 7.891 kB / 0.6489 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.003759, allocations: 0 / 0.6489 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-06/0.003765, allocations: 0 / 0.6489 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.003775, allocations: 0 / 0.6489 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.003779, allocations: 4 kB / 0.6489 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.00382, allocations: 76.58 kB / 0.649 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.003821, allocations: 0 / 0.649 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001839/0.004004, allocations: 4 kB / 0.649 GB, free: 2.57 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 9.841e-05/0.004103, allocations: 103.2 kB / 0.6491 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.375e-05/0.004157, allocations: 4 kB / 0.6491 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.004158, allocations: 3.938 kB / 0.6491 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.004168, allocations: 7.938 kB / 0.6491 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.004294, allocations: 0 / 0.6491 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.004495, allocations: 76.94 kB / 0.6491 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.004542, allocations: 55.34 kB / 0.6492 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.748e-06/0.004551, allocations: 0 / 0.6492 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.00457, allocations: 16.62 kB / 0.6492 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.00457, allocations: 0 / 0.6492 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.002189/0.006759, allocations: 180.8 kB / 0.6494 GB, free: 2.074 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.527960304170847] Failed to read output from testmodel.py, exit status != 0: 0.014455180615186691 0.27892281999999996 0.27494104099999994 Calling exit ...