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.001293/0.001293, allocations: 110.6 kB / 16.41 MB, free: 6.027 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.001379/0.001379, allocations: 186.5 kB / 17.34 MB, free: 5.633 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.714/0.714, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 65.16 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1568, allocations: 76.18 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.00289/0.1598, allocations: 1.587 MB / 0.6336 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.1607, allocations: 0.5113 MB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.1607, allocations: 3.938 kB / 0.6341 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1609, allocations: 3.938 kB / 0.6341 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.884e-05/0.1609, allocations: 23.8 kB / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1612, allocations: 35.89 kB / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1614, allocations: 83.64 kB / 0.6343 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1615, allocations: 44.22 kB / 0.6343 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1616, allocations: 43.83 kB / 0.6344 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.878e-05/0.1617, allocations: 35.84 kB / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1618, allocations: 8 kB / 0.6344 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.1618, allocations: 8 kB / 0.6344 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.1619, allocations: 27.91 kB / 0.6344 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.162, allocations: 39.73 kB / 0.6345 GB, free: 1.914 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1621, allocations: 91.58 kB / 0.6346 GB, free: 1.824 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1621, allocations: 4 kB / 0.6346 GB, free: 1.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1622, allocations: 0 / 0.6346 GB, free: 1.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1622, allocations: 0 / 0.6346 GB, free: 1.82 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.0005722/0.1627, allocations: 399.1 kB / 0.6349 GB, free: 1.383 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1628, allocations: 8.031 kB / 0.635 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1628, allocations: 12.75 kB / 0.635 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.163, allocations: 192.2 kB / 0.6351 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.163, allocations: 12.31 kB / 0.6352 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.163, allocations: 4.375 kB / 0.6352 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1633, allocations: 113.9 kB / 0.6353 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1633, allocations: 3.984 kB / 0.6353 GB, free: 1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1633, allocations: 0 / 0.6353 GB, free: 1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1633, allocations: 4 kB / 0.6353 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.1636, allocations: 95.92 kB / 0.6354 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.1641, allocations: 384.4 kB / 0.6357 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1643, allocations: 58.55 kB / 0.6358 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1644, allocations: 48.95 kB / 0.6358 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.1645, allocations: 7.984 kB / 0.6358 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1645, allocations: 34.56 kB / 0.6359 GB, free: 316 kB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1645, allocations: 0 / 0.6359 GB, free: 316 kB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.000445/0.1649, allocations: 169.6 kB / 0.636 GB, free: 140 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.165, allocations: 51.41 kB / 0.6361 GB, free: 76 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1651, allocations: 139.5 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1651, allocations: 25.7 kB / 0.6362 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.1652, allocations: 108.2 kB / 0.6364 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1652, allocations: 23.67 kB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.1653, allocations: 17.72 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1654, allocations: 318.8 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1655, allocations: 39.97 kB / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.874e-05/0.1656, allocations: 39.97 kB / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1658, allocations: 92.8 kB / 0.6369 GB, free: 15.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1658, allocations: 0 / 0.6369 GB, free: 15.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002526/0.1661, allocations: 125.5 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1661, allocations: 4 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1661, allocations: 0 / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1661, allocations: 0 / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1663, allocations: 27.91 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1663, allocations: 4 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.1664, allocations: 7.906 kB / 0.637 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.1664, allocations: 11.98 kB / 0.637 GB, free: 15.07 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.206e-05/0.1665, allocations: 113.8 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.1665, allocations: 7.906 kB / 0.6371 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.1669, allocations: 146.2 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1669, allocations: 11.88 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1669, allocations: 0 / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1669, allocations: 0 / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1671, allocations: 209.9 kB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1671, allocations: 0 / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.1672, allocations: 19.98 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1672, allocations: 4 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1672, allocations: 3.984 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1672, allocations: 3.938 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1672, allocations: 0 / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.1675, allocations: 227.3 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.1676, allocations: 85.02 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1676, allocations: 0 / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.1677, allocations: 11.92 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.1678, allocations: 8 kB / 0.6378 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1678, allocations: 7.984 kB / 0.6379 GB, free: 14.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.368e-05/0.1678, allocations: 101.1 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1678, allocations: 0 / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.1681, allocations: 20 kB / 0.638 GB, free: 14 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.0001293/0.1682, allocations: 95.25 kB / 0.6381 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.1685, allocations: 107.9 kB / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1685, allocations: 0 / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1686, allocations: 51.97 kB / 0.6382 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1689, allocations: 11.94 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.1693, allocations: 207.1 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1696, allocations: 0.7001 MB / 0.6391 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.1697, allocations: 27.94 kB / 0.6391 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.1697, allocations: 15.44 kB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1697, allocations: 0 / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Templates: time 0.002747/0.1725, allocations: 0.7141 MB / 0.6398 GB, free: 12.03 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)