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.0009806/0.0009806, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001108/0.001108, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 290.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8762/0.8762, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 93.81 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1508, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.00252/0.1533, allocations: 1.597 MB / 0.6832 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007259/0.1541, allocations: 0.5081 MB / 0.6837 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.1541, allocations: 0 / 0.6837 GB, free: 5.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.622e-05/0.1542, allocations: 11.88 kB / 0.6837 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.1543, allocations: 15.84 kB / 0.6837 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1545, allocations: 39.91 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.1546, allocations: 83.69 kB / 0.6838 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1547, allocations: 44.2 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.1548, allocations: 31.91 kB / 0.6839 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.1549, allocations: 47.77 kB / 0.6839 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1549, allocations: 12 kB / 0.6839 GB, free: 5.066 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.211e-05/0.155, allocations: 8 kB / 0.6839 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.155, allocations: 23.92 kB / 0.684 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.1551, allocations: 39.73 kB / 0.684 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1552, allocations: 91.58 kB / 0.6841 GB, free: 4.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1552, allocations: 0 / 0.6841 GB, free: 4.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1552, allocations: 0 / 0.6841 GB, free: 4.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1552, allocations: 4 kB / 0.6841 GB, free: 4.902 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.0004839/0.1557, allocations: 399.1 kB / 0.6845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.1558, allocations: 12.03 kB / 0.6845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.1558, allocations: 12.84 kB / 0.6845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.156, allocations: 200 kB / 0.6847 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.156, allocations: 4.375 kB / 0.6847 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.156, allocations: 8.375 kB / 0.6847 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1562, allocations: 102 kB / 0.6848 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1563, allocations: 0 / 0.6848 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1563, allocations: 7.938 kB / 0.6848 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1563, allocations: 7.984 kB / 0.6848 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.1565, allocations: 95.94 kB / 0.6849 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.157, allocations: 372.5 kB / 0.6853 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1572, allocations: 62.55 kB / 0.6853 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1573, allocations: 52.95 kB / 0.6854 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1573, allocations: 3.984 kB / 0.6854 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1574, allocations: 42.5 kB / 0.6854 GB, free: 3.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/0.1574, allocations: 0 / 0.6854 GB, free: 3.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004164/0.1578, allocations: 165.5 kB / 0.6856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.1578, allocations: 51.41 kB / 0.6856 GB, free: 3.156 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1579, allocations: 135.8 kB / 0.6857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.158, allocations: 29.7 kB / 0.6858 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.158, allocations: 112 kB / 0.6859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1581, allocations: 19.8 kB / 0.6859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1581, allocations: 17.72 kB / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1582, allocations: 322.8 kB / 0.6862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1583, allocations: 39.97 kB / 0.6863 GB, free: 2.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.1584, allocations: 44.28 kB / 0.6863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.1586, allocations: 92.8 kB / 0.6864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1586, allocations: 0 / 0.6864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002421/0.1589, allocations: 125.5 kB / 0.6865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1589, allocations: 4 kB / 0.6865 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1589, allocations: 3.984 kB / 0.6865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.1589, allocations: 0 / 0.6865 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.159, allocations: 23.92 kB / 0.6865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1591, allocations: 0 / 0.6865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.1591, allocations: 7.984 kB / 0.6865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.1592, allocations: 4 kB / 0.6866 GB, free: 2.152 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 7.021e-05/0.1592, allocations: 121.8 kB / 0.6867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1593, allocations: 7.906 kB / 0.6867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.1596, allocations: 154.2 kB / 0.6868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1596, allocations: 3.938 kB / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1596, allocations: 0 / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1596, allocations: 0 / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1598, allocations: 201.5 kB / 0.687 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1598, allocations: 0 / 0.687 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1599, allocations: 31.91 kB / 0.6871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1599, allocations: 0 / 0.6871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1599, allocations: 4 kB / 0.6871 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1599, allocations: 3.938 kB / 0.6871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1599, allocations: 128 / 0.6871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.1602, allocations: 227.3 kB / 0.6873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.1603, allocations: 85.02 kB / 0.6874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1603, allocations: 0 / 0.6874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1604, allocations: 23.86 kB / 0.6874 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.1605, allocations: 0 / 0.6874 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1605, allocations: 7.984 kB / 0.6874 GB, free: 1.199 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.1605, allocations: 101.1 kB / 0.6875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1605, allocations: 0 / 0.6875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1608, allocations: 16 kB / 0.6875 GB, free: 1.086 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.0001141/0.1609, allocations: 107.2 kB / 0.6876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.1611, allocations: 99.92 kB / 0.6877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1611, allocations: 0 / 0.6877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1613, allocations: 51.97 kB / 0.6877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.1615, allocations: 3.938 kB / 0.6877 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.1618, allocations: 211.2 kB / 0.688 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2228/0.3847, allocations: 0.6993 MB / 0.6886 GB, free: 17.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.3849, allocations: 14.16 kB / 0.6886 GB, free: 17.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.3849, allocations: 12.64 kB / 0.6887 GB, free: 17.76 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3849, allocations: 0 / 0.6887 GB, free: 17.76 MB / 494.1 MB Notification: Performance of Templates: time 0.002838/0.3877, allocations: 0.7142 MB / 0.6894 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)