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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001422/0.001422, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001473/0.001473, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 290.5 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.507 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002735, allocations: 108.5 kB / 0.6059 GB, free: 24.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1658, allocations: 89.14 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002975/0.1688, allocations: 1.659 MB / 0.6946 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008367/0.1696, allocations: 0.4978 MB / 0.6951 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.1697, allocations: 4 kB / 0.6951 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.1698, allocations: 8.578 kB / 0.6951 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.1699, allocations: 13.48 kB / 0.6951 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1701, allocations: 31.97 kB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1702, allocations: 75.78 kB / 0.6952 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1704, allocations: 48.12 kB / 0.6953 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.1704, allocations: 35.92 kB / 0.6953 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.1705, allocations: 43.83 kB / 0.6953 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1706, allocations: 8 kB / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.1706, allocations: 11.94 kB / 0.6954 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.1707, allocations: 23.92 kB / 0.6954 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.1708, allocations: 43.73 kB / 0.6954 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.1709, allocations: 91.92 kB / 0.6955 GB, free: 2.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1709, allocations: 0 / 0.6955 GB, free: 2.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1709, allocations: 0 / 0.6955 GB, free: 2.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1709, allocations: 0 / 0.6955 GB, free: 2.125 MB / 494.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.0005942/0.1715, allocations: 403 kB / 0.6959 GB, free: 1.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1716, allocations: 8.031 kB / 0.6959 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.1716, allocations: 12.84 kB / 0.6959 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1719, allocations: 192.2 kB / 0.6961 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1719, allocations: 8.312 kB / 0.6961 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1719, allocations: 8.375 kB / 0.6961 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.1722, allocations: 109.9 kB / 0.6962 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1722, allocations: 0 / 0.6962 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1722, allocations: 12 kB / 0.6962 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1722, allocations: 0 / 0.6962 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.1725, allocations: 91.94 kB / 0.6963 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.1731, allocations: 388.4 kB / 0.6967 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1733, allocations: 58.55 kB / 0.6967 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1734, allocations: 48.95 kB / 0.6968 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-05/0.1735, allocations: 4 kB / 0.6968 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1735, allocations: 42.55 kB / 0.6968 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1735, allocations: 0 / 0.6968 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004645/0.174, allocations: 173.4 kB / 0.697 GB, free: 440 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.174, allocations: 51.41 kB / 0.697 GB, free: 376 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1741, allocations: 131.2 kB / 0.6972 GB, free: 236 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1742, allocations: 29.7 kB / 0.6972 GB, free: 200 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.1743, allocations: 104.2 kB / 0.6973 GB, free: 92 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1743, allocations: 27.64 kB / 0.6973 GB, free: 64 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.1743, allocations: 21.7 kB / 0.6973 GB, free: 36 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1745, allocations: 318.8 kB / 0.6976 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1746, allocations: 39.97 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1747, allocations: 35.97 kB / 0.6977 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.175, allocations: 92.8 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.175, allocations: 0 / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002783/0.1752, allocations: 125.6 kB / 0.6979 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1753, allocations: 8 kB / 0.6979 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1753, allocations: 0 / 0.6979 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1753, allocations: 0 / 0.6979 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.1754, allocations: 19.92 kB / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1755, allocations: 4 kB / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.1755, allocations: 15.89 kB / 0.698 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.1756, allocations: 0 / 0.698 GB, free: 15.37 MB / 0.4981 GB 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 0.0001066/0.1757, allocations: 121.8 kB / 0.6981 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.1757, allocations: 7.906 kB / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.1761, allocations: 142.3 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1761, allocations: 12.38 kB / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1761, allocations: 0 / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1761, allocations: 0 / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.1763, allocations: 209.5 kB / 0.6984 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1764, allocations: 4 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1765, allocations: 15.98 kB / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1765, allocations: 0 / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1765, allocations: 4 kB / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1765, allocations: 3.938 kB / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1765, allocations: 4 kB / 0.6985 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.1768, allocations: 223.3 kB / 0.6987 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.1769, allocations: 81.02 kB / 0.6988 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1769, allocations: 8 kB / 0.6988 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.177, allocations: 11.92 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.1771, allocations: 7.984 kB / 0.6988 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1771, allocations: 4 kB / 0.6988 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.04e-05/0.1772, allocations: 105.5 kB / 0.6989 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1772, allocations: 0 / 0.6989 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002388/0.1774, allocations: 12 kB / 0.6989 GB, free: 14.32 MB / 0.4981 GB 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.0001414/0.1776, allocations: 111.2 kB / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.1779, allocations: 95.88 kB / 0.6991 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1779, allocations: 4 kB / 0.6991 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.178, allocations: 51.97 kB / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1783, allocations: 9.547 kB / 0.6992 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.1787, allocations: 255 kB / 0.6994 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.1791, allocations: 0.7002 MB / 0.7001 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.1792, allocations: 15.97 kB / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.1792, allocations: 15.42 kB / 0.7001 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1793, allocations: 0 / 0.7001 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.003116/0.1824, allocations: 0.653 MB / 0.7008 GB, free: 12.36 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)