Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.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.001557/0.001557, allocations: 104.4 kB / 19.7 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.001754/0.001754, allocations: 213.5 kB / 22.99 MB, free: 4.945 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002459/0.002459, allocations: 299.1 kB / 313.5 MB, free: 2.629 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.19/1.19, 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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") [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.002843/0.002843, allocations: 108.4 kB / 0.7407 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1694, allocations: 95.39 MB / 0.8339 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002649/0.172, allocations: 1.511 MB / 0.8353 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1733, allocations: 0.6841 MB / 0.836 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.1733, allocations: 7.938 kB / 0.836 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1734, allocations: 3.938 kB / 0.836 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.1734, allocations: 3.938 kB / 0.836 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.1738, allocations: 103.6 kB / 0.8361 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.1739, allocations: 35.92 kB / 0.8362 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.174, allocations: 15.92 kB / 0.8362 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.991e-05/0.1741, allocations: 23.86 kB / 0.8362 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.1741, allocations: 19.86 kB / 0.8362 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1741, allocations: 4 kB / 0.8362 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.1743, allocations: 111.9 kB / 0.8363 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.1743, allocations: 4 kB / 0.8363 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.1744, allocations: 19.88 kB / 0.8364 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1746, allocations: 95.75 kB / 0.8364 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1746, allocations: 0 / 0.8364 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1746, allocations: 0 / 0.8364 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1746, allocations: 0 / 0.8364 GB, free: 5.191 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004419/0.175, allocations: 297.9 kB / 0.8367 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1751, allocations: 17.33 kB / 0.8367 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1752, allocations: 12.89 kB / 0.8368 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1754, allocations: 122.4 kB / 0.8369 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1754, allocations: 8.375 kB / 0.8369 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.1754, allocations: 384 / 0.8369 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1756, allocations: 61.98 kB / 0.8369 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1756, allocations: 4 kB / 0.8369 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1756, allocations: 0 / 0.8369 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1756, allocations: 4 kB / 0.8369 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.1757, allocations: 23.98 kB / 0.837 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.176, allocations: 224.4 kB / 0.8372 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/0.1761, allocations: 30.56 kB / 0.8372 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.1761, allocations: 16.91 kB / 0.8372 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.1764, allocations: 39.97 kB / 0.8373 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1764, allocations: 30.56 kB / 0.8373 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1764, allocations: 0 / 0.8373 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002377/0.1766, allocations: 65.61 kB / 0.8374 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.1767, allocations: 55.41 kB / 0.8374 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.1768, allocations: 109.8 kB / 0.8375 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1768, allocations: 29.83 kB / 0.8375 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.1768, allocations: 100.1 kB / 0.8376 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.1769, allocations: 7.938 kB / 0.8377 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.1769, allocations: 17.72 kB / 0.8377 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.177, allocations: 318.8 kB / 0.838 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.1771, allocations: 11.98 kB / 0.838 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.1771, allocations: 4 kB / 0.838 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/0.1772, allocations: 28.84 kB / 0.838 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1772, allocations: 4 kB / 0.838 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/0.1773, allocations: 61.67 kB / 0.8381 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1773, allocations: 4 kB / 0.8381 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1773, allocations: 0 / 0.8381 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1774, allocations: 0 / 0.8381 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.1774, allocations: 8 kB / 0.8381 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.1774, allocations: 0 / 0.8381 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.1775, allocations: 7.922 kB / 0.8381 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1775, allocations: 0 / 0.8381 GB, free: 3.328 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 (2): * Single equations (assignments): 2 * 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.175e-05/0.1775, allocations: 118.5 kB / 0.8382 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1776, allocations: 7.953 kB / 0.8382 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.1777, allocations: 69.22 kB / 0.8383 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1777, allocations: 0 / 0.8383 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1777, allocations: 0 / 0.8383 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1777, allocations: 0 / 0.8383 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1779, allocations: 113.2 kB / 0.8384 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1779, allocations: 0 / 0.8384 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.1779, allocations: 7.984 kB / 0.8384 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1779, allocations: 0 / 0.8384 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1779, allocations: 12.03 kB / 0.8384 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1779, allocations: 0 / 0.8384 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1779, allocations: 0 / 0.8384 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.1781, allocations: 151.4 kB / 0.8386 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.1781, allocations: 7.938 kB / 0.8386 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.1781, allocations: 0 / 0.8386 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.1782, allocations: 4 kB / 0.8386 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.1782, allocations: 8.375 kB / 0.8386 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1782, allocations: 0 / 0.8386 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.469e-05/0.1783, allocations: 91.2 kB / 0.8387 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1783, allocations: 4.031 kB / 0.8387 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002276/0.1785, allocations: 19.94 kB / 0.8387 GB, free: 2.66 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 (2): * Single equations (assignments): 2 * 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.0001611/0.1787, allocations: 107.2 kB / 0.8388 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.1788, allocations: 23.98 kB / 0.8388 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1788, allocations: 0 / 0.8388 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.1788, allocations: 15.92 kB / 0.8388 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.179, allocations: 10.44 kB / 0.8388 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.1794, allocations: 160.8 kB / 0.839 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.1794, allocations: 63.34 kB / 0.839 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.1794, allocations: 15.42 kB / 0.8391 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1794, allocations: 3.938 kB / 0.8391 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of Templates: time 0.002242/0.1817, allocations: 0.8053 MB / 0.8399 GB, free: 1.41 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.915272349957377] Failed to read output from testmodel.py, exit status != 0: 0.18867665017023683 0.20347331100000002 0.026014263000000003 Calling exit ...