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.00102/0.00102, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002386, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001062/0.001062, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.0023, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.011/1.011, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09097/1.102, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.001348/0.001348, allocations: 236.3 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.002602, allocations: 470.9 kB / 244.7 MB, free: 14.18 MB / 250.7 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.7054/0.7054, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08412/0.7895, allocations: 42.4 MB / 426.5 MB, free: 5.949 MB / 410.7 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.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 8.91e-07/8.91e-07, allocations: 0 / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.833e-05, allocations: 6.312 kB / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002083/0.002101, allocations: 1.701 MB / 429.5 MB, free: 2.898 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006781/0.002779, allocations: 0.5967 MB / 430.1 MB, free: 2.293 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.002829, allocations: 3.938 kB / 430.1 MB, free: 2.289 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.002877, allocations: 15.88 kB / 430.1 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.886e-05/0.002915, allocations: 7.875 kB / 430.1 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.003082, allocations: 63.78 kB / 430.2 MB, free: 2.203 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.811e-05/0.00318, allocations: 87.7 kB / 430.3 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.003269, allocations: 31.91 kB / 430.3 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.003391, allocations: 71.81 kB / 430.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.003448, allocations: 35.94 kB / 430.4 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.003462, allocations: 8 kB / 430.4 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.351e-05/0.003526, allocations: 23.88 kB / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.003552, allocations: 19.88 kB / 430.5 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.003575, allocations: 15.94 kB / 430.5 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.003704, allocations: 67.81 kB / 430.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.003715, allocations: 0 / 430.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003715, allocations: 3.938 kB / 430.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.003726, allocations: 0 / 430.5 MB, free: 1.844 MB / 410.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.0003263/0.004052, allocations: 324.1 kB / 430.9 MB, free: 1.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.514e-05/0.004077, allocations: 15.98 kB / 430.9 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.004239, allocations: 122 kB / 431 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.00436, allocations: 142.1 kB / 431.1 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.004368, allocations: 8.375 kB / 431.1 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.004376, allocations: 4.375 kB / 431.1 MB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.00448, allocations: 85.73 kB / 431.2 MB, free: 1.082 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004488, allocations: 7.922 kB / 431.2 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.004493, allocations: 0 / 431.2 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004498, allocations: 4 kB / 431.2 MB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.004532, allocations: 23.92 kB / 431.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.004851, allocations: 237.6 kB / 431.5 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.634e-05/0.004897, allocations: 70.42 kB / 431.6 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.004917, allocations: 16.98 kB / 431.6 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-05/0.00499, allocations: 4 kB / 431.6 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.005018, allocations: 34.55 kB / 431.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.00502, allocations: 0 / 431.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001683/0.005188, allocations: 61.69 kB / 431.7 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.005216, allocations: 51.41 kB / 431.7 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.005289, allocations: 146.6 kB / 431.9 MB, free: 376 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.0053, allocations: 33.64 kB / 431.9 MB, free: 336 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.005335, allocations: 104.1 kB / 432 MB, free: 228 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.005355, allocations: 15.86 kB / 432 MB, free: 212 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.005386, allocations: 21.7 kB / 432 MB, free: 184 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1795/0.1848, allocations: 319 kB / 432.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.1849, allocations: 9.891 kB / 432.4 MB, free: 2.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.1849, allocations: 5.875 kB / 432.4 MB, free: 2.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.972e-05/0.185, allocations: 33.66 kB / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.185, allocations: 0 / 432.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.368e-05/0.1851, allocations: 52.61 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1851, allocations: 8.875 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1851, allocations: 1.562 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1851, allocations: 3.281 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1852, allocations: 16.66 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1853, allocations: 4.938 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.1853, allocations: 11.97 kB / 432.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1853, allocations: 4.156 kB / 432.5 MB, free: 2.062 MB / 410.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 4.805e-05/0.1853, allocations: 112.8 kB / 432.6 MB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1854, allocations: 6.531 kB / 432.6 MB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.1855, allocations: 72.5 kB / 432.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1855, allocations: 5.969 kB / 432.7 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1855, allocations: 0 / 432.7 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1855, allocations: 2.219 kB / 432.7 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1856, allocations: 89.97 kB / 432.8 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1856, allocations: 0.6562 kB / 432.8 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.1857, allocations: 21.78 kB / 432.8 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.1857, allocations: 13.39 kB / 432.8 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1857, allocations: 0 / 432.8 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1857, allocations: 4.25 kB / 432.8 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1857, allocations: 0.8438 kB / 432.8 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1857, allocations: 4.75 kB / 432.8 MB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.701e-05/0.1858, allocations: 200.4 kB / 433 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1858, allocations: 0.9375 kB / 433 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.1858, allocations: 3.625 kB / 433 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.1859, allocations: 12.67 kB / 433 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1859, allocations: 6.75 kB / 433.1 MB, free: 1.648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.1859, allocations: 32.23 kB / 433.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1859, allocations: 2.219 kB / 433.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.186, allocations: 17.14 kB / 433.1 MB, free: 1.641 MB / 410.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 0.0001055/0.1861, allocations: 79.44 kB / 433.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.627e-05/0.1862, allocations: 30.56 kB / 433.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.1862, allocations: 6.531 kB / 433.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.1862, allocations: 23.83 kB / 433.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.1864, allocations: 13.28 kB / 433.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008489/0.1872, allocations: 220.8 kB / 433.5 MB, free: 1.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.979e-05/0.1872, allocations: 66.28 kB / 433.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.157e-05/0.1873, allocations: 8.828 kB / 433.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.1873, allocations: 56.64 kB / 433.6 MB, free: 1.305 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1873, allocations: 0 / 433.6 MB, free: 1.305 MB / 410.7 MB Notification: Performance of Templates: time 0.002419/0.1897, allocations: 0.7114 MB / 434.3 MB, free: 1.285 MB / 410.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.36229469999671]