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.001298/0.001298, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00128/0.00128, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.279/1.279, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002241/0.002241, allocations: 279.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9227/0.9227, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 94.48 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1531, allocations: 86.97 MB / 0.6808 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.003164/0.1563, allocations: 1.587 MB / 0.6824 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.1573, allocations: 0.5042 MB / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.1574, allocations: 0 / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.1576, allocations: 15.86 kB / 0.6829 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.1577, allocations: 19.8 kB / 0.6829 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.158, allocations: 31.97 kB / 0.6829 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1582, allocations: 75.77 kB / 0.683 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1584, allocations: 56.34 kB / 0.6831 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1585, allocations: 31.92 kB / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1586, allocations: 43.83 kB / 0.6831 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1586, allocations: 8 kB / 0.6831 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.778e-05/0.1587, allocations: 8 kB / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.1588, allocations: 27.91 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1588, allocations: 39.73 kB / 0.6832 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.159, allocations: 87.64 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.159, allocations: 0 / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.159, allocations: 0 / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.159, allocations: 4 kB / 0.6833 GB, free: 5.652 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.0005827/0.1596, allocations: 399.1 kB / 0.6837 GB, free: 5.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1597, allocations: 8.031 kB / 0.6837 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.1597, allocations: 8.844 kB / 0.6837 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1599, allocations: 196.1 kB / 0.6839 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.16, allocations: 4.375 kB / 0.6839 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.16, allocations: 8.312 kB / 0.6839 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.1603, allocations: 117.9 kB / 0.684 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1603, allocations: 0 / 0.684 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1603, allocations: 0 / 0.684 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1603, allocations: 0 / 0.684 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.1606, allocations: 99.92 kB / 0.6841 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.1613, allocations: 380.5 kB / 0.6845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1614, allocations: 62.48 kB / 0.6845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1616, allocations: 44.95 kB / 0.6846 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.1616, allocations: 8 kB / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1616, allocations: 50.48 kB / 0.6846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1617, allocations: 0 / 0.6846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004768/0.1621, allocations: 161.5 kB / 0.6848 GB, free: 3.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1622, allocations: 51.41 kB / 0.6848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1623, allocations: 137.8 kB / 0.685 GB, free: 3.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1623, allocations: 29.7 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.1624, allocations: 108 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1624, allocations: 15.81 kB / 0.6851 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.1625, allocations: 25.64 kB / 0.6851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1626, allocations: 318.8 kB / 0.6854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1627, allocations: 39.97 kB / 0.6855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.604e-05/0.1628, allocations: 39.97 kB / 0.6855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.1631, allocations: 92.8 kB / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1631, allocations: 0 / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002837/0.1634, allocations: 121.5 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1634, allocations: 6.031 kB / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1634, allocations: 0 / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1634, allocations: 0 / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1636, allocations: 35.84 kB / 0.6858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1636, allocations: 0 / 0.6858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.1637, allocations: 4 kB / 0.6858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.1637, allocations: 7.984 kB / 0.6858 GB, free: 2.902 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 0.0001058/0.1638, allocations: 117.8 kB / 0.6859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1638, allocations: 7.906 kB / 0.6859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.1642, allocations: 142.3 kB / 0.686 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1642, allocations: 7.938 kB / 0.686 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1642, allocations: 4.438 kB / 0.686 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1642, allocations: 3.984 kB / 0.686 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.1645, allocations: 209.5 kB / 0.6862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1645, allocations: 3.938 kB / 0.6863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1646, allocations: 19.98 kB / 0.6863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1646, allocations: 4 kB / 0.6863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1646, allocations: 3.984 kB / 0.6863 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1646, allocations: 7.938 kB / 0.6863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1646, allocations: 0 / 0.6863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1649, allocations: 219.4 kB / 0.6865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.165, allocations: 85.02 kB / 0.6866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.165, allocations: 0 / 0.6866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.1651, allocations: 11.92 kB / 0.6866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.1652, allocations: 11.98 kB / 0.6866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1652, allocations: 4 kB / 0.6866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.117e-05/0.1653, allocations: 107.2 kB / 0.6867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1653, allocations: 3.938 kB / 0.6867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1655, allocations: 20 kB / 0.6867 GB, free: 1.828 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.0001304/0.1657, allocations: 95.25 kB / 0.6868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1659, allocations: 111.9 kB / 0.6869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.166, allocations: 0 / 0.6869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1661, allocations: 51.91 kB / 0.687 GB, free: 1.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.1663, allocations: 7.719 kB / 0.687 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.1667, allocations: 240.9 kB / 0.6872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.167, allocations: 0.7002 MB / 0.6879 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.1671, allocations: 15.44 kB / 0.6879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1671, allocations: 0 / 0.6879 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of Templates: time 0.2373/0.4043, allocations: 1.117 MB / 0.689 GB, free: 17.74 MB / 494.1 MB 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)