Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.001404/0.001404, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001147/0.001147, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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.039/1.039, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 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.001713/0.001713, allocations: 240.8 kB / 261.3 MB, free: 12.66 MB / 250.7 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.7303/0.7303, allocations: 138.4 MB / 456.3 MB, free: 1.414 MB / 362.7 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.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 3.938 kB / 0.5564 GB, free: 232 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.902e-05, allocations: 2.312 kB / 0.5564 GB, free: 228 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.001912/0.001931, allocations: 1.642 MB / 0.558 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006689/0.0026, allocations: 0.593 MB / 0.5586 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.002656, allocations: 0 / 0.5586 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.567e-05/0.002752, allocations: 11.86 kB / 0.5586 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.828e-05/0.00278, allocations: 15.81 kB / 0.5586 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.003004, allocations: 59.8 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.003102, allocations: 91.69 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.00321, allocations: 31.92 kB / 0.5588 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.003324, allocations: 59.81 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.003381, allocations: 35.88 kB / 0.5589 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.003397, allocations: 8 kB / 0.5589 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.279e-05/0.00345, allocations: 16 kB / 0.5589 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.00348, allocations: 19.92 kB / 0.5589 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.003507, allocations: 27.91 kB / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003613, allocations: 79.61 kB / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.604e-06/0.003615, allocations: 0 / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003615, allocations: 0 / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.003619, allocations: 4 kB / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003317/0.003951, allocations: 436.1 kB / 0.5594 GB, free: 13.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.003983, allocations: 12.75 kB / 0.5594 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.004132, allocations: 36.83 kB / 0.5595 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.004267, allocations: 159.9 kB / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.004277, allocations: 8.375 kB / 0.5596 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.004286, allocations: 4.375 kB / 0.5596 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.004428, allocations: 90.84 kB / 0.5597 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.004438, allocations: 3.938 kB / 0.5597 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.004449, allocations: 4 kB / 0.5597 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.004455, allocations: 0 / 0.5597 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.004504, allocations: 19.98 kB / 0.5597 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.00482, allocations: 312.1 kB / 0.56 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.481e-05/0.004864, allocations: 39.03 kB / 0.5601 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.004885, allocations: 15.69 kB / 0.5601 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.00491, allocations: 12.11 kB / 0.5601 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.004927, allocations: 37.39 kB / 0.5601 GB, free: 12.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.004927, allocations: 0 / 0.5601 GB, free: 12.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001372/0.005065, allocations: 73.58 kB / 0.5602 GB, free: 12.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.00509, allocations: 51.41 kB / 0.5603 GB, free: 12.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.005434, allocations: 197.8 kB / 0.5605 GB, free: 11.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.005445, allocations: 29.7 kB / 0.5605 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.005497, allocations: 162.8 kB / 0.5606 GB, free: 11.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.005516, allocations: 11.86 kB / 0.5606 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.005546, allocations: 31.36 kB / 0.5607 GB, free: 11.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.005643, allocations: 0.4923 MB / 0.5612 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.005658, allocations: 8 kB / 0.5612 GB, free: 11.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.005673, allocations: 11.98 kB / 0.5612 GB, free: 11.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.005714, allocations: 27.69 kB / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.005716, allocations: 0 / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.153e-05/0.005787, allocations: 66.02 kB / 0.5613 GB, free: 11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.005796, allocations: 4 kB / 0.5613 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.005801, allocations: 7.984 kB / 0.5613 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.005808, allocations: 0 / 0.5613 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.005871, allocations: 19.98 kB / 0.5613 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.005874, allocations: 3.984 kB / 0.5613 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.005899, allocations: 7.938 kB / 0.5613 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.005912, allocations: 11.94 kB / 0.5613 GB, free: 10.95 MB / 490.7 MB 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 (6): * Single equations (assignments): 6 * 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 5.491e-05/0.005967, allocations: 152.6 kB / 0.5615 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.005989, allocations: 15.95 kB / 0.5615 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.006099, allocations: 86.3 kB / 0.5616 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.0061, allocations: 0 / 0.5616 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006102, allocations: 0 / 0.5616 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.00611, allocations: 3.938 kB / 0.5616 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.981e-05/0.00621, allocations: 129.2 kB / 0.5617 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.00621, allocations: 0 / 0.5617 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.006249, allocations: 15.98 kB / 0.5617 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.00625, allocations: 4 kB / 0.5617 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.006255, allocations: 0 / 0.5617 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.006256, allocations: 3.984 kB / 0.5617 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006257, allocations: 4 kB / 0.5617 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.006358, allocations: 211.8 kB / 0.5619 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.006366, allocations: 7.953 kB / 0.5619 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.006377, allocations: 4 kB / 0.5619 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.006416, allocations: 7.984 kB / 0.5619 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.006446, allocations: 7.984 kB / 0.5619 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.00645, allocations: 0 / 0.5619 GB, free: 10.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.006492, allocations: 153.9 kB / 0.5621 GB, free: 10.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006492, allocations: 4 kB / 0.5621 GB, free: 10.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000147/0.006639, allocations: 15.98 kB / 0.5621 GB, free: 10.08 MB / 490.7 MB 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 (6): * Single equations (assignments): 6 * 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 7.922e-05/0.006718, allocations: 99.19 kB / 0.5622 GB, free: 9.973 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.425e-05/0.006793, allocations: 43.73 kB / 0.5622 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.006794, allocations: 0 / 0.5622 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.006819, allocations: 23.67 kB / 0.5623 GB, free: 9.898 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.006961, allocations: 10.97 kB / 0.5623 GB, free: 9.891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.007328, allocations: 217.7 kB / 0.5625 GB, free: 9.648 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.00736, allocations: 67.33 kB / 0.5625 GB, free: 9.562 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.007386, allocations: 7.938 kB / 0.5626 GB, free: 9.555 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.007427, allocations: 78.19 kB / 0.5626 GB, free: 9.477 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007428, allocations: 0 / 0.5626 GB, free: 9.477 MB / 490.7 MB Notification: Performance of Templates: time 0.002047/0.009475, allocations: 0.7834 MB / 0.5634 GB, free: 8.695 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.654574560932815]