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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 223.7 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00258/0.00258, allocations: 282.2 kB / 313.5 MB, free: 2.852 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 13.11 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 101.8 kB / 0.7408 GB, free: 27.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1631, allocations: 95.38 MB / 0.834 GB, free: 8.152 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002896/0.166, allocations: 1.637 MB / 0.8356 GB, free: 6.504 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.167, allocations: 0.6102 MB / 0.8362 GB, free: 5.887 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.1671, allocations: 11.94 kB / 0.8362 GB, free: 5.875 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 9.84e-05/0.1672, allocations: 11.86 kB / 0.8362 GB, free: 5.863 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.1672, allocations: 15.86 kB / 0.8362 GB, free: 5.848 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1675, allocations: 59.86 kB / 0.8363 GB, free: 5.789 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.1677, allocations: 83.7 kB / 0.8363 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1678, allocations: 31.92 kB / 0.8364 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.1679, allocations: 47.89 kB / 0.8364 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 8.712e-05/0.168, allocations: 43.78 kB / 0.8364 GB, free: 5.586 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.168, allocations: 4 kB / 0.8365 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 7.607e-05/0.1681, allocations: 23.92 kB / 0.8365 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.1681, allocations: 23.92 kB / 0.8365 GB, free: 5.535 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.1682, allocations: 43.72 kB / 0.8365 GB, free: 5.492 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.1684, allocations: 95.52 kB / 0.8366 GB, free: 5.398 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1684, allocations: 0 / 0.8366 GB, free: 5.398 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1684, allocations: 0 / 0.8366 GB, free: 5.398 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1684, allocations: 0 / 0.8366 GB, free: 5.398 MB / 0.5763 GB 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.0005129/0.1689, allocations: 341.8 kB / 0.837 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1689, allocations: 13.34 kB / 0.837 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.1692, allocations: 36.86 kB / 0.837 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1694, allocations: 153.1 kB / 0.8372 GB, free: 4.816 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1695, allocations: 4.375 kB / 0.8372 GB, free: 4.812 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.1695, allocations: 8.125 kB / 0.8372 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1697, allocations: 109.6 kB / 0.8373 GB, free: 4.691 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1697, allocations: 3.984 kB / 0.8373 GB, free: 4.688 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1697, allocations: 4 kB / 0.8373 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1697, allocations: 3.938 kB / 0.8373 GB, free: 4.68 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.17, allocations: 91.94 kB / 0.8374 GB, free: 4.59 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.1706, allocations: 355.6 kB / 0.8377 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1707, allocations: 58.55 kB / 0.8378 GB, free: 4.133 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1708, allocations: 40.95 kB / 0.8378 GB, free: 4.09 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.1709, allocations: 15.91 kB / 0.8378 GB, free: 4.074 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1709, allocations: 30.56 kB / 0.8378 GB, free: 4.035 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1709, allocations: 0 / 0.8378 GB, free: 4.035 MB / 0.5763 GB Notification: Performance of matching and sorting (n=6): time 0.0004263/0.1713, allocations: 173.4 kB / 0.838 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1714, allocations: 55.41 kB / 0.8381 GB, free: 3.793 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1715, allocations: 143.7 kB / 0.8382 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1715, allocations: 25.7 kB / 0.8382 GB, free: 3.613 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.1716, allocations: 108.2 kB / 0.8383 GB, free: 3.504 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.1716, allocations: 15.86 kB / 0.8383 GB, free: 3.488 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.1716, allocations: 25.7 kB / 0.8384 GB, free: 3.457 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1718, allocations: 318.8 kB / 0.8387 GB, free: 3.137 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.1719, allocations: 35.97 kB / 0.8387 GB, free: 3.102 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.172, allocations: 47.89 kB / 0.8388 GB, free: 3.055 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1722, allocations: 84.81 kB / 0.8388 GB, free: 2.969 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1722, allocations: 4 kB / 0.8388 GB, free: 2.965 MB / 0.5763 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002602/0.1724, allocations: 125.6 kB / 0.839 GB, free: 2.836 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1724, allocations: 7.938 kB / 0.839 GB, free: 2.828 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1724, allocations: 0 / 0.839 GB, free: 2.828 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1725, allocations: 4 kB / 0.839 GB, free: 2.824 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1726, allocations: 16.42 kB / 0.839 GB, free: 2.809 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1726, allocations: 0 / 0.839 GB, free: 2.809 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.1727, allocations: 19.92 kB / 0.839 GB, free: 2.789 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.1727, allocations: 8 kB / 0.839 GB, free: 2.781 MB / 0.5763 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 9.258e-05/0.1728, allocations: 118.5 kB / 0.8391 GB, free: 2.656 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.1728, allocations: 15.84 kB / 0.8391 GB, free: 2.641 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.1732, allocations: 146.3 kB / 0.8393 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1732, allocations: 0 / 0.8393 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1732, allocations: 0 / 0.8393 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1732, allocations: 4 kB / 0.8393 GB, free: 2.48 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1734, allocations: 176.7 kB / 0.8394 GB, free: 2.266 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1734, allocations: 0 / 0.8394 GB, free: 2.266 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.1735, allocations: 19.92 kB / 0.8395 GB, free: 2.246 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1735, allocations: 3.938 kB / 0.8395 GB, free: 2.242 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1735, allocations: 8 kB / 0.8395 GB, free: 2.234 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1735, allocations: 0 / 0.8395 GB, free: 2.234 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1735, allocations: 3.984 kB / 0.8395 GB, free: 2.23 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1738, allocations: 215.5 kB / 0.8397 GB, free: 2.004 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.1738, allocations: 15.83 kB / 0.8397 GB, free: 1.988 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1739, allocations: 7.984 kB / 0.8397 GB, free: 1.98 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.174, allocations: 11.94 kB / 0.8397 GB, free: 1.969 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.174, allocations: 3.984 kB / 0.8397 GB, free: 1.965 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.174, allocations: 4 kB / 0.8397 GB, free: 1.961 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 7.328e-05/0.1741, allocations: 110.2 kB / 0.8398 GB, free: 1.855 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1741, allocations: 4 kB / 0.8398 GB, free: 1.852 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002392/0.1743, allocations: 19.95 kB / 0.8399 GB, free: 1.832 MB / 0.5763 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.0001356/0.1744, allocations: 103.1 kB / 0.84 GB, free: 1.723 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.1747, allocations: 95.92 kB / 0.84 GB, free: 1.629 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1747, allocations: 0 / 0.84 GB, free: 1.629 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1748, allocations: 55.91 kB / 0.8401 GB, free: 1.574 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.175, allocations: 7.938 kB / 0.8401 GB, free: 1.566 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.1755, allocations: 253.8 kB / 0.8404 GB, free: 1.289 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1758, allocations: 0.7002 MB / 0.841 GB, free: 0.5625 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.1759, allocations: 11.44 kB / 0.841 GB, free: 0.5508 MB / 0.5763 GB Notification: Performance of SimCode: time 4.01e-07/0.1759, allocations: 0 / 0.841 GB, free: 0.5508 MB / 0.5763 GB Notification: Performance of Templates: time 0.002817/0.1787, allocations: 1.192 MB / 0.8422 GB, free: 15.36 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.921418149955571] Failed to read output from testmodel.py, exit status != 0: 0.18582971394062042 0.201078672 0.029788022 Calling exit ...