Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 106 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7475/0.7475, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 64.88 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1742, allocations: 76.18 MB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002477/0.1767, allocations: 1.584 MB / 0.6336 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.1775, allocations: 0.5114 MB / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.1776, allocations: 0 / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.1777, allocations: 7.875 kB / 0.6341 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.1778, allocations: 15.81 kB / 0.6342 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.178, allocations: 35.94 kB / 0.6342 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.1781, allocations: 83.64 kB / 0.6343 GB, free: 2.105 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1783, allocations: 44.22 kB / 0.6343 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.1784, allocations: 51.77 kB / 0.6344 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.1785, allocations: 35.84 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1785, allocations: 8 kB / 0.6344 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.1786, allocations: 8 kB / 0.6344 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.1786, allocations: 23.92 kB / 0.6344 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.1787, allocations: 43.72 kB / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1788, allocations: 87.64 kB / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1788, allocations: 0 / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1788, allocations: 0 / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1789, allocations: 0 / 0.6346 GB, free: 1.809 MB / 478.1 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.0005195/0.1794, allocations: 403.1 kB / 0.6349 GB, free: 1.367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1794, allocations: 8.031 kB / 0.6349 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.1795, allocations: 12.75 kB / 0.635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1796, allocations: 202.3 kB / 0.6352 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1797, allocations: 8.375 kB / 0.6352 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1797, allocations: 4.375 kB / 0.6352 GB, free: 1.102 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1799, allocations: 106 kB / 0.6353 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.18, allocations: 0 / 0.6353 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.18, allocations: 4 kB / 0.6353 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.18, allocations: 4 kB / 0.6353 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.1802, allocations: 99.86 kB / 0.6354 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.1808, allocations: 376.5 kB / 0.6357 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1809, allocations: 66.48 kB / 0.6358 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1811, allocations: 48.95 kB / 0.6358 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.1811, allocations: 7.984 kB / 0.6358 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1811, allocations: 30.56 kB / 0.6359 GB, free: 304 kB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1811, allocations: 0 / 0.6359 GB, free: 304 kB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004527/0.1816, allocations: 169.5 kB / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1816, allocations: 59.28 kB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1818, allocations: 137.8 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1818, allocations: 25.7 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.1819, allocations: 104.2 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.1819, allocations: 19.73 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.1819, allocations: 17.72 kB / 0.6364 GB, free: 15.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1821, allocations: 322.8 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1822, allocations: 39.97 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1823, allocations: 39.97 kB / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.1825, allocations: 88.8 kB / 0.6369 GB, free: 15.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1825, allocations: 0 / 0.6369 GB, free: 15.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002662/0.1828, allocations: 129.5 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1828, allocations: 4 kB / 0.637 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1829, allocations: 0 / 0.637 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1829, allocations: 0 / 0.637 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.183, allocations: 27.91 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.183, allocations: 0 / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.1831, allocations: 7.906 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.1831, allocations: 11.98 kB / 0.637 GB, free: 15.05 MB / 494.1 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 8.67e-05/0.1832, allocations: 117.8 kB / 0.6371 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1833, allocations: 7.906 kB / 0.6371 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.1836, allocations: 150.2 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.1836, allocations: 7.922 kB / 0.6373 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1836, allocations: 0.5 kB / 0.6373 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1836, allocations: 0 / 0.6373 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1839, allocations: 205.6 kB / 0.6375 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1839, allocations: 4 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.184, allocations: 19.98 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.184, allocations: 4 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.184, allocations: 3.984 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.184, allocations: 3.938 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.184, allocations: 0 / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.1843, allocations: 227.3 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1844, allocations: 85.02 kB / 0.6378 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1844, allocations: 0 / 0.6378 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1845, allocations: 11.92 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1846, allocations: 4 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1846, allocations: 11.98 kB / 0.6378 GB, free: 14.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.335e-05/0.1847, allocations: 96.67 kB / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1847, allocations: 0 / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1849, allocations: 20 kB / 0.638 GB, free: 13.99 MB / 494.1 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.0001445/0.1851, allocations: 103.2 kB / 0.6381 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.1854, allocations: 107.9 kB / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1854, allocations: 0 / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1855, allocations: 51.91 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.1858, allocations: 9.719 kB / 0.6382 GB, free: 13.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1862, allocations: 213.6 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1865, allocations: 0.703 MB / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.1866, allocations: 19.95 kB / 0.6391 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1867, allocations: 11.44 kB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1867, allocations: 0 / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Templates: time 0.003098/0.1898, allocations: 0.7314 MB / 0.6399 GB, free: 12 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)