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.001688/0.001688, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002071/0.002071, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.785 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.002673/0.002673, allocations: 276 kB / 312.7 MB, free: 2.586 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.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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.002836/0.002836, allocations: 101.7 kB / 0.74 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1665, allocations: 95.38 MB / 0.8331 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002699/0.1692, allocations: 1.596 MB / 0.8347 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.1702, allocations: 0.5713 MB / 0.8353 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.1702, allocations: 0 / 0.8353 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.588e-05/0.1703, allocations: 7.875 kB / 0.8353 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.1703, allocations: 23.78 kB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1706, allocations: 59.86 kB / 0.8353 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1708, allocations: 87.7 kB / 0.8354 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1709, allocations: 27.98 kB / 0.8355 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.171, allocations: 51.77 kB / 0.8355 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.1711, allocations: 39.78 kB / 0.8355 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1711, allocations: 8 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.238e-05/0.1712, allocations: 12 kB / 0.8356 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.1712, allocations: 23.91 kB / 0.8356 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.1713, allocations: 35.8 kB / 0.8356 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1714, allocations: 99.56 kB / 0.8357 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1714, allocations: 3.938 kB / 0.8357 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1714, allocations: 0 / 0.8357 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1714, allocations: 0 / 0.8357 GB, free: 5.125 MB / 0.5762 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.0004968/0.1719, allocations: 341.7 kB / 0.836 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.172, allocations: 17.86 kB / 0.8361 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.1723, allocations: 36.86 kB / 0.8361 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.1725, allocations: 142.9 kB / 0.8362 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1725, allocations: 12.36 kB / 0.8362 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1725, allocations: 8.125 kB / 0.8362 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1728, allocations: 109.6 kB / 0.8364 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1728, allocations: 4 kB / 0.8364 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1728, allocations: 3.938 kB / 0.8364 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1728, allocations: 0 / 0.8364 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.173, allocations: 102.2 kB / 0.8365 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.1736, allocations: 312.2 kB / 0.8368 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.1737, allocations: 62.55 kB / 0.8368 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1738, allocations: 44.95 kB / 0.8369 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1739, allocations: 3.984 kB / 0.8369 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1739, allocations: 34.56 kB / 0.8369 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1739, allocations: 0 / 0.8369 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.000457/0.1743, allocations: 161.5 kB / 0.837 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1744, allocations: 63.34 kB / 0.8371 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1745, allocations: 140.4 kB / 0.8372 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1745, allocations: 29.7 kB / 0.8373 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.1746, allocations: 108.2 kB / 0.8374 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1746, allocations: 15.86 kB / 0.8374 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.1747, allocations: 21.7 kB / 0.8374 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1748, allocations: 322.8 kB / 0.8377 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1749, allocations: 39.97 kB / 0.8378 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.175, allocations: 39.97 kB / 0.8378 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.1752, allocations: 88.8 kB / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1752, allocations: 0 / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002684/0.1755, allocations: 133.5 kB / 0.838 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1755, allocations: 4 kB / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1755, allocations: 3.938 kB / 0.838 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1755, allocations: 0 / 0.838 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1756, allocations: 19.98 kB / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.1756, allocations: 0 / 0.838 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.1757, allocations: 15.98 kB / 0.838 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1757, allocations: 448 / 0.838 GB, free: 2.566 MB / 0.5762 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 8.893e-05/0.1758, allocations: 122.5 kB / 0.8382 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.1758, allocations: 11.91 kB / 0.8382 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.1762, allocations: 158.1 kB / 0.8383 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1762, allocations: 4 kB / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.1762, allocations: 0 / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1762, allocations: 0 / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1764, allocations: 145.2 kB / 0.8385 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1764, allocations: 0 / 0.8385 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.772e-05/0.1765, allocations: 15.98 kB / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1765, allocations: 0 / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1765, allocations: 0 / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.1765, allocations: 7.938 kB / 0.8385 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1765, allocations: 0 / 0.8385 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.1768, allocations: 227.4 kB / 0.8387 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.1768, allocations: 7.953 kB / 0.8387 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1769, allocations: 3.984 kB / 0.8387 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.177, allocations: 15.94 kB / 0.8387 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.177, allocations: 3.984 kB / 0.8387 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.177, allocations: 4 kB / 0.8387 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.358e-05/0.1771, allocations: 107.2 kB / 0.8388 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1771, allocations: 0 / 0.8388 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000233/0.1773, allocations: 15.95 kB / 0.8389 GB, free: 1.664 MB / 0.5762 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.0001281/0.1774, allocations: 111.1 kB / 0.839 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1777, allocations: 99.86 kB / 0.8391 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1777, allocations: 0 / 0.8391 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1778, allocations: 47.97 kB / 0.8391 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1781, allocations: 9.312 kB / 0.8391 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.1785, allocations: 231.7 kB / 0.8393 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.101e-05/0.1786, allocations: 84.19 kB / 0.8394 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.054e-05/0.1786, allocations: 15.97 kB / 0.8394 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1787, allocations: 15.44 kB / 0.8394 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1787, allocations: 3.938 kB / 0.8394 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of Templates: time 0.003104/0.1818, allocations: 0.7823 MB / 0.8402 GB, free: 240 kB / 0.5762 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: 5.955146024003625] Failed to read output from testmodel.py, exit status != 0: 0.18874229677021503 0.20373055599999995 0.02933147599999994 Calling exit ...