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.00132/0.00132, allocations: 104.4 kB / 19.71 MB, free: 2.125 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.001384/0.001384, allocations: 215.4 kB / 22.99 MB, free: 4.949 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.002543/0.002543, allocations: 296.5 kB / 313.5 MB, free: 2.582 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.199/1.199, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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.002875/0.002875, allocations: 101 kB / 0.7407 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1638, allocations: 95.38 MB / 0.8339 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.00284/0.1666, allocations: 1.596 MB / 0.8354 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1677, allocations: 0.5713 MB / 0.836 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.1678, allocations: 0 / 0.836 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1679, allocations: 11.86 kB / 0.836 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.1679, allocations: 15.81 kB / 0.836 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1682, allocations: 63.8 kB / 0.8361 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.1683, allocations: 83.77 kB / 0.8362 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1685, allocations: 27.98 kB / 0.8362 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1686, allocations: 51.77 kB / 0.8362 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.1687, allocations: 35.78 kB / 0.8363 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1687, allocations: 8 kB / 0.8363 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.381e-05/0.1688, allocations: 19.98 kB / 0.8363 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.1688, allocations: 23.91 kB / 0.8363 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.1689, allocations: 35.8 kB / 0.8364 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.169, allocations: 91.58 kB / 0.8364 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1691, allocations: 0 / 0.8364 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1691, allocations: 0 / 0.8364 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1691, allocations: 11.88 kB / 0.8365 GB, free: 5.137 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.0005454/0.1696, allocations: 341.8 kB / 0.8368 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1696, allocations: 13.94 kB / 0.8368 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.1699, allocations: 32.86 kB / 0.8368 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.1702, allocations: 146.9 kB / 0.837 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.1702, allocations: 384 / 0.837 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1702, allocations: 12.12 kB / 0.837 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1705, allocations: 109.6 kB / 0.8371 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1705, allocations: 0 / 0.8371 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1705, allocations: 4 kB / 0.8371 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.1705, allocations: 3.984 kB / 0.8371 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.1708, allocations: 95.88 kB / 0.8372 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.1713, allocations: 320.2 kB / 0.8375 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1715, allocations: 58.55 kB / 0.8375 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1716, allocations: 48.95 kB / 0.8376 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1716, allocations: 0 / 0.8376 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1716, allocations: 38.5 kB / 0.8376 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1716, allocations: 0 / 0.8376 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004561/0.1721, allocations: 169.7 kB / 0.8378 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1721, allocations: 59.34 kB / 0.8378 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1723, allocations: 136.8 kB / 0.838 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1723, allocations: 25.7 kB / 0.838 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.1724, allocations: 112.1 kB / 0.8381 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1724, allocations: 19.86 kB / 0.8381 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.1724, allocations: 21.7 kB / 0.8381 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1726, allocations: 322.8 kB / 0.8385 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1727, allocations: 40.03 kB / 0.8385 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1728, allocations: 43.97 kB / 0.8385 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.173, allocations: 88.8 kB / 0.8386 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.173, allocations: 4 kB / 0.8386 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002686/0.1733, allocations: 125.5 kB / 0.8387 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1733, allocations: 4 kB / 0.8387 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1733, allocations: 3.938 kB / 0.8387 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1733, allocations: 4 kB / 0.8388 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1734, allocations: 19.97 kB / 0.8388 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1734, allocations: 4 kB / 0.8388 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.1735, allocations: 4 kB / 0.8388 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1735, allocations: 4 kB / 0.8388 GB, free: 2.582 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 0.0001046/0.1736, allocations: 122.5 kB / 0.8389 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.1736, allocations: 11.91 kB / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.174, allocations: 154.1 kB / 0.8391 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.174, allocations: 0 / 0.8391 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.174, allocations: 0 / 0.8391 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.174, allocations: 3.984 kB / 0.8391 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1742, allocations: 141.3 kB / 0.8392 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1742, allocations: 0 / 0.8392 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.1743, allocations: 15.98 kB / 0.8392 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1743, allocations: 0 / 0.8392 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1743, allocations: 4.234 kB / 0.8392 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1743, allocations: 11.94 kB / 0.8392 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1743, allocations: 0 / 0.8392 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1746, allocations: 227.4 kB / 0.8394 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.1746, allocations: 7.953 kB / 0.8395 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1746, allocations: 0 / 0.8395 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.1747, allocations: 11.94 kB / 0.8395 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.1748, allocations: 7.984 kB / 0.8395 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.1748, allocations: 7.984 kB / 0.8395 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.469e-05/0.1749, allocations: 103.3 kB / 0.8396 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1749, allocations: 7.875 kB / 0.8396 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002312/0.1751, allocations: 19.95 kB / 0.8396 GB, free: 1.672 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.0001418/0.1753, allocations: 109.3 kB / 0.8397 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.1755, allocations: 95.88 kB / 0.8398 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1755, allocations: 0 / 0.8398 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1756, allocations: 47.97 kB / 0.8398 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1759, allocations: 4 kB / 0.8398 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.1763, allocations: 257.4 kB / 0.8401 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.905e-05/0.1764, allocations: 90.94 kB / 0.8402 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.1765, allocations: 19.42 kB / 0.8402 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.1765, allocations: 0 / 0.8402 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of Templates: time 0.002699/0.1792, allocations: 1.223 MB / 0.8414 GB, free: 15.79 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.989194550085813] Failed to read output from testmodel.py, exit status != 0: 0.18600011430680752 0.20008638999999995 0.02822033999999994 Calling exit ...