Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8798/0.8798, allocations: 128.7 MB / 144.5 MB, free: 1.363 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002131/0.002132, allocations: 189.5 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205 MB / 408.9 MB, free: 9.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 101.2 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 51.97 kB / 0.558 GB, free: 97.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1794, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002615/0.182, allocations: 1.647 MB / 0.6333 GB, free: 31.35 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.1828, allocations: 0.543 MB / 0.6338 GB, free: 30.8 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1829, allocations: 4 kB / 0.6338 GB, free: 30.8 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.183, allocations: 7.922 kB / 0.6338 GB, free: 30.79 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.1831, allocations: 7.875 kB / 0.6338 GB, free: 30.78 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1833, allocations: 35.95 kB / 0.6339 GB, free: 30.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1835, allocations: 79.72 kB / 0.6339 GB, free: 30.67 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1836, allocations: 36.22 kB / 0.634 GB, free: 30.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.1837, allocations: 39.83 kB / 0.634 GB, free: 30.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.078e-05/0.1838, allocations: 35.84 kB / 0.6341 GB, free: 30.56 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1838, allocations: 8 kB / 0.6341 GB, free: 30.55 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.488e-05/0.1839, allocations: 12 kB / 0.6341 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.184, allocations: 15.92 kB / 0.6341 GB, free: 30.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.184, allocations: 43.72 kB / 0.6341 GB, free: 30.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1842, allocations: 83.7 kB / 0.6342 GB, free: 30.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1842, allocations: 0 / 0.6342 GB, free: 30.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1842, allocations: 0 / 0.6342 GB, free: 30.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1842, allocations: 4 kB / 0.6342 GB, free: 30.39 MB / 442.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.0006037/0.1848, allocations: 395.4 kB / 0.6346 GB, free: 29.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1849, allocations: 12.03 kB / 0.6346 GB, free: 29.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.185, allocations: 8.844 kB / 0.6346 GB, free: 29.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1851, allocations: 206.2 kB / 0.6348 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1852, allocations: 4.375 kB / 0.6348 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.1852, allocations: 4.375 kB / 0.6348 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1854, allocations: 121.9 kB / 0.6349 GB, free: 29.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1855, allocations: 0 / 0.6349 GB, free: 29.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1855, allocations: 0 / 0.6349 GB, free: 29.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1855, allocations: 3.984 kB / 0.6349 GB, free: 29.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.1857, allocations: 95.94 kB / 0.635 GB, free: 29.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.1863, allocations: 388.5 kB / 0.6354 GB, free: 29.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1864, allocations: 58.55 kB / 0.6355 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1865, allocations: 56.89 kB / 0.6355 GB, free: 28.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.1866, allocations: 4 kB / 0.6355 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.1866, allocations: 34.56 kB / 0.6355 GB, free: 28.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1866, allocations: 0 / 0.6355 GB, free: 28.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004202/0.1871, allocations: 165.5 kB / 0.6357 GB, free: 28.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.1871, allocations: 51.41 kB / 0.6357 GB, free: 28.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/0.1872, allocations: 137.8 kB / 0.6359 GB, free: 28.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.1872, allocations: 25.7 kB / 0.6359 GB, free: 28.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.1873, allocations: 112.1 kB / 0.636 GB, free: 28.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1873, allocations: 15.66 kB / 0.636 GB, free: 28.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1873, allocations: 25.7 kB / 0.6361 GB, free: 28.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.1874, allocations: 314.8 kB / 0.6364 GB, free: 27.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.1875, allocations: 43.91 kB / 0.6364 GB, free: 27.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.1876, allocations: 39.97 kB / 0.6364 GB, free: 27.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1878, allocations: 92.8 kB / 0.6365 GB, free: 27.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1878, allocations: 0 / 0.6365 GB, free: 27.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000223/0.188, allocations: 125.5 kB / 0.6366 GB, free: 27.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.188, allocations: 4 kB / 0.6366 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1881, allocations: 0 / 0.6366 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1881, allocations: 0 / 0.6366 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1882, allocations: 23.92 kB / 0.6367 GB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1882, allocations: 11.92 kB / 0.6367 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.1883, allocations: 11.98 kB / 0.6367 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.1883, allocations: 4 kB / 0.6367 GB, free: 27.63 MB / 442.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.61e-05/0.1884, allocations: 121.8 kB / 0.6368 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.1884, allocations: 7.906 kB / 0.6368 GB, free: 27.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.1887, allocations: 142.8 kB / 0.637 GB, free: 27.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1887, allocations: 7.938 kB / 0.637 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1888, allocations: 0 / 0.637 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1888, allocations: 0 / 0.637 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.1889, allocations: 209.6 kB / 0.6372 GB, free: 27.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1889, allocations: 0 / 0.6372 GB, free: 27.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/0.189, allocations: 19.92 kB / 0.6372 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1891, allocations: 0 / 0.6372 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1891, allocations: 4 kB / 0.6372 GB, free: 27.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1891, allocations: 3.938 kB / 0.6372 GB, free: 27.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1891, allocations: 4 kB / 0.6372 GB, free: 27.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.1897, allocations: 0.8215 MB / 0.638 GB, free: 26.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.1897, allocations: 88.94 kB / 0.6381 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1897, allocations: 4 kB / 0.6381 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.1898, allocations: 15.94 kB / 0.6381 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.1899, allocations: 3.984 kB / 0.6381 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1899, allocations: 4 kB / 0.6381 GB, free: 26.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.629e-05/0.19, allocations: 105.1 kB / 0.6382 GB, free: 25.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.19, allocations: 0 / 0.6382 GB, free: 25.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.1903, allocations: 19.91 kB / 0.6382 GB, free: 25.92 MB / 442.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.0002351/0.1906, allocations: 99.23 kB / 0.6383 GB, free: 25.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.1909, allocations: 103.9 kB / 0.6384 GB, free: 25.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1909, allocations: 0 / 0.6384 GB, free: 25.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.191, allocations: 55.95 kB / 0.6385 GB, free: 25.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1913, allocations: 7.938 kB / 0.6385 GB, free: 25.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.1919, allocations: 363.8 kB / 0.6388 GB, free: 25.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.1921, allocations: 0.7043 MB / 0.6395 GB, free: 24.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.1922, allocations: 23.95 kB / 0.6395 GB, free: 24.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1923, allocations: 15.44 kB / 0.6396 GB, free: 24.49 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1923, allocations: 0 / 0.6396 GB, free: 24.49 MB / 442.7 MB Notification: Performance of Templates: time 0.00268/0.195, allocations: 0.6421 MB / 0.6402 GB, free: 23.85 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)