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.001019/0.00102, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.0009837/0.0009838, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.256/1.256, 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.002044/0.002044, allocations: 279.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9041/0.9041, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 101.8 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1484, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002499/0.1509, allocations: 1.59 MB / 0.6832 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007263/0.1517, allocations: 0.5042 MB / 0.6836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.1517, allocations: 3.938 kB / 0.6837 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.525e-05/0.1518, allocations: 11.88 kB / 0.6837 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.1519, allocations: 15.86 kB / 0.6837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1521, allocations: 39.89 kB / 0.6837 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1522, allocations: 83.7 kB / 0.6838 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1523, allocations: 40.2 kB / 0.6838 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.1524, allocations: 43.83 kB / 0.6839 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.1525, allocations: 43.78 kB / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1525, allocations: 4 kB / 0.6839 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.01e-05/0.1526, allocations: 12 kB / 0.6839 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.1526, allocations: 19.92 kB / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.1527, allocations: 43.78 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1528, allocations: 95.52 kB / 0.6841 GB, free: 4.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1528, allocations: 0 / 0.6841 GB, free: 4.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1529, allocations: 4 kB / 0.6841 GB, free: 4.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1529, allocations: 0 / 0.6841 GB, free: 4.875 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.0004803/0.1533, allocations: 399.1 kB / 0.6845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1534, allocations: 12.03 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1534, allocations: 8.844 kB / 0.6845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.1536, allocations: 194.5 kB / 0.6847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1536, allocations: 8.375 kB / 0.6847 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1536, allocations: 4.375 kB / 0.6847 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1539, allocations: 117.9 kB / 0.6848 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1539, allocations: 0 / 0.6848 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1539, allocations: 0 / 0.6848 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1539, allocations: 0 / 0.6848 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.1541, allocations: 95.92 kB / 0.6849 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.1547, allocations: 384.5 kB / 0.6853 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1548, allocations: 62.55 kB / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1549, allocations: 48.95 kB / 0.6854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.1549, allocations: 11.98 kB / 0.6854 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.155, allocations: 34.56 kB / 0.6854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 2.345e-06/0.155, allocations: 0 / 0.6854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004138/0.1554, allocations: 169.4 kB / 0.6856 GB, free: 3.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1554, allocations: 51.41 kB / 0.6856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.1555, allocations: 133.8 kB / 0.6857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1556, allocations: 25.7 kB / 0.6858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.1556, allocations: 112 kB / 0.6859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.1556, allocations: 19.8 kB / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1557, allocations: 17.72 kB / 0.6859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.1558, allocations: 322.8 kB / 0.6862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1559, allocations: 39.97 kB / 0.6863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.156, allocations: 35.97 kB / 0.6863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1562, allocations: 92.8 kB / 0.6864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1562, allocations: 3.938 kB / 0.6864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002422/0.1565, allocations: 121.5 kB / 0.6865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1565, allocations: 8 kB / 0.6865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1565, allocations: 0 / 0.6865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1565, allocations: 3.938 kB / 0.6865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1566, allocations: 23.91 kB / 0.6865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1567, allocations: 4 kB / 0.6865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.1567, allocations: 8 kB / 0.6865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1568, allocations: 3.984 kB / 0.6866 GB, free: 2.129 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.811e-05/0.1568, allocations: 121.8 kB / 0.6867 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.1569, allocations: 7.906 kB / 0.6867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.1572, allocations: 146.6 kB / 0.6868 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1572, allocations: 7.938 kB / 0.6868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1572, allocations: 0 / 0.6868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1572, allocations: 4 kB / 0.6868 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.1574, allocations: 209.6 kB / 0.687 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1574, allocations: 0 / 0.687 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.84e-05/0.1575, allocations: 15.98 kB / 0.687 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1575, allocations: 0 / 0.687 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1576, allocations: 3.984 kB / 0.687 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1576, allocations: 3.938 kB / 0.687 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1576, allocations: 4 kB / 0.6871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.1579, allocations: 231.3 kB / 0.6873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.1579, allocations: 85.02 kB / 0.6874 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1579, allocations: 0 / 0.6874 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.158, allocations: 15.86 kB / 0.6874 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1581, allocations: 4 kB / 0.6874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1581, allocations: 3.984 kB / 0.6874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.1582, allocations: 109.3 kB / 0.6875 GB, free: 1.078 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1582, allocations: 0 / 0.6875 GB, free: 1.078 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.1584, allocations: 16 kB / 0.6875 GB, free: 1.062 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.0001252/0.1585, allocations: 99.25 kB / 0.6876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.1588, allocations: 99.86 kB / 0.6877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1588, allocations: 0 / 0.6877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1589, allocations: 55.97 kB / 0.6877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1591, allocations: 8 kB / 0.6877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.1595, allocations: 215.1 kB / 0.688 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2343/0.3938, allocations: 0.6929 MB / 0.6886 GB, free: 17.76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.3939, allocations: 15.2 kB / 0.6886 GB, free: 17.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.394, allocations: 11.91 kB / 0.6887 GB, free: 17.75 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.394, allocations: 0 / 0.6887 GB, free: 17.75 MB / 494.1 MB Notification: Performance of Templates: time 0.003116/0.3971, allocations: 0.724 MB / 0.6894 GB, free: 17.73 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)