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.0006862/0.0006862, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009729/0.001659, allocations: 440 kB / 10.41 MB, free: 284 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.0006802/0.0006802, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008857/0.001566, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9751/0.9751, allocations: 177.2 MB / 189.7 MB, free: 5.215 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08216/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.47 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.001251/0.001251, allocations: 234 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001568/0.002819, allocations: 479.7 kB / 244.8 MB, free: 14.04 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.6898/0.6898, allocations: 138.7 MB / 384.3 MB, free: 340 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07566/0.7655, allocations: 42.4 MB / 426.7 MB, free: 5.812 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 1.623e-06/1.623e-06, allocations: 0 / 428.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.243e-05, allocations: 2.312 kB / 428.1 MB, free: 4.445 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002831/0.002853, allocations: 1.701 MB / 429.8 MB, free: 2.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007019/0.003555, allocations: 0.6006 MB / 430.4 MB, free: 2.121 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.003601, allocations: 3.938 kB / 430.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.515e-05/0.003656, allocations: 11.92 kB / 430.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.548e-05/0.003681, allocations: 19.73 kB / 430.4 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.003832, allocations: 59.84 kB / 430.5 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.377e-05/0.003925, allocations: 91.66 kB / 430.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.004011, allocations: 35.89 kB / 430.6 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.004134, allocations: 63.89 kB / 430.7 MB, free: 1.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.004187, allocations: 31.89 kB / 430.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.0042, allocations: 4 kB / 430.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.772e-05/0.004257, allocations: 27.92 kB / 430.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.004283, allocations: 15.94 kB / 430.7 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.004304, allocations: 15.94 kB / 430.8 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.932e-05/0.004403, allocations: 75.69 kB / 430.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.004413, allocations: 0 / 430.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004414, allocations: 4 kB / 430.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.004425, allocations: 0 / 430.8 MB, free: 1.668 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.000325/0.00475, allocations: 328 kB / 431.2 MB, free: 1.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.004776, allocations: 12.03 kB / 431.2 MB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.004937, allocations: 110 kB / 431.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.005088, allocations: 154.1 kB / 431.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.005097, allocations: 4.375 kB / 431.4 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.005108, allocations: 8.375 kB / 431.4 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.005216, allocations: 85.73 kB / 431.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005224, allocations: 3.938 kB / 431.5 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.005231, allocations: 4 kB / 431.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.005237, allocations: 4 kB / 431.5 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.005267, allocations: 12 kB / 431.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.005507, allocations: 229.6 kB / 431.8 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.647e-05/0.005554, allocations: 74.45 kB / 431.8 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.005574, allocations: 12.86 kB / 431.9 MB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.005598, allocations: 12.06 kB / 431.9 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.005616, allocations: 38.56 kB / 431.9 MB, free: 496 kB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.005617, allocations: 0 / 431.9 MB, free: 496 kB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001167/0.005734, allocations: 57.67 kB / 432 MB, free: 432 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.005758, allocations: 55.41 kB / 432 MB, free: 364 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.295e-05/0.005821, allocations: 142.6 kB / 432.2 MB, free: 208 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.005836, allocations: 25.7 kB / 432.2 MB, free: 176 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.005869, allocations: 100.1 kB / 432.3 MB, free: 72 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.005888, allocations: 19.86 kB / 432.3 MB, free: 52 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.005915, allocations: 21.69 kB / 432.3 MB, free: 24 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1906/0.1966, allocations: 320.2 kB / 432.6 MB, free: 2.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.1966, allocations: 10.3 kB / 432.6 MB, free: 2.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.1967, allocations: 7.297 kB / 432.6 MB, free: 2.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.1967, allocations: 31.44 kB / 432.7 MB, free: 2.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1967, allocations: 1.656 kB / 432.7 MB, free: 2.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001262/0.1969, allocations: 60.27 kB / 432.7 MB, free: 1.992 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1969, allocations: 5.656 kB / 432.7 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1969, allocations: 0 / 432.7 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1969, allocations: 1.219 kB / 432.7 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1971, allocations: 24.02 kB / 432.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1971, allocations: 4.469 kB / 432.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.1971, allocations: 10.05 kB / 432.8 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.1971, allocations: 2.938 kB / 432.8 MB, free: 1.992 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 6.391e-05/0.1972, allocations: 116.6 kB / 432.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1972, allocations: 4.938 kB / 432.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.1974, allocations: 74.67 kB / 433 MB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1974, allocations: 3.938 kB / 433 MB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.1974, allocations: 3.219 kB / 433 MB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1974, allocations: 0 / 433 MB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1975, allocations: 88.81 kB / 433.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1975, allocations: 1.281 kB / 433.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.1976, allocations: 20.42 kB / 433.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.1976, allocations: 11.25 kB / 433.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1976, allocations: 0 / 433.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1977, allocations: 4.359 kB / 433.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1977, allocations: 2.5 kB / 433.1 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1977, allocations: 4.688 kB / 433.1 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.1978, allocations: 199.6 kB / 433.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1978, allocations: 4.812 kB / 433.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.1979, allocations: 4.281 kB / 433.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.1979, allocations: 6.938 kB / 433.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1979, allocations: 10.48 kB / 433.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.513e-05/0.198, allocations: 29.52 kB / 433.4 MB, free: 1.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.198, allocations: 2.219 kB / 433.4 MB, free: 1.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.1982, allocations: 17.98 kB / 433.4 MB, free: 1.57 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.0001258/0.1983, allocations: 86.95 kB / 433.5 MB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.944e-05/0.1984, allocations: 30.3 kB / 433.5 MB, free: 1.496 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.1984, allocations: 4.641 kB / 433.5 MB, free: 1.496 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.1985, allocations: 28.31 kB / 433.5 MB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.1987, allocations: 16.38 kB / 433.5 MB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1999, allocations: 218.9 kB / 433.8 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.001e-05/0.1999, allocations: 68.2 kB / 433.8 MB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.342e-05/0.1999, allocations: 8.109 kB / 433.8 MB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.2, allocations: 56.42 kB / 433.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2, allocations: 1.031 kB / 433.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of Templates: time 0.002623/0.2026, allocations: 0.706 MB / 434.6 MB, free: 1.215 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.342544316314161]