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.001769/0.001769, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001464/0.001464, allocations: 174.3 kB / 22.46 MB, free: 5.355 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.002692/0.002692, allocations: 241.2 kB / 259.4 MB, free: 476 kB / 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.118/1.118, allocations: 138.4 MB / 454.3 MB, free: 2.027 MB / 366.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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 3.938 kB / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.28e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002555/0.002578, allocations: 1.508 MB / 0.6483 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.003864, allocations: 0.7018 MB / 0.649 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.003915, allocations: 0 / 0.649 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.003944, allocations: 3.938 kB / 0.649 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.003986, allocations: 4 kB / 0.649 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.004382, allocations: 107.5 kB / 0.6491 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.004479, allocations: 35.8 kB / 0.6491 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.004573, allocations: 19.97 kB / 0.6491 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.004677, allocations: 19.98 kB / 0.6491 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.004723, allocations: 15.92 kB / 0.6492 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.004737, allocations: 4 kB / 0.6492 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.004967, allocations: 107.8 kB / 0.6493 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.004989, allocations: 19.91 kB / 0.6493 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.005013, allocations: 8 kB / 0.6493 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.00523, allocations: 115.6 kB / 0.6494 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005232, allocations: 0 / 0.6494 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005232, allocations: 0 / 0.6494 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.005241, allocations: 0 / 0.6494 GB, free: 2.367 MB / 0.5606 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.0004413/0.005682, allocations: 294 kB / 0.6497 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.005717, allocations: 9.344 kB / 0.6497 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.005865, allocations: 16.89 kB / 0.6497 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.006058, allocations: 117.7 kB / 0.6498 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-06/0.006064, allocations: 384 / 0.6498 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.00608, allocations: 8.375 kB / 0.6498 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.006234, allocations: 54.23 kB / 0.6499 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.006243, allocations: 192 / 0.6499 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.006255, allocations: 4.375 kB / 0.6499 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-06/0.006264, allocations: 7.938 kB / 0.6499 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.006365, allocations: 27.92 kB / 0.6499 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.006683, allocations: 220.4 kB / 0.6501 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.662e-05/0.00678, allocations: 34.52 kB / 0.6502 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.006833, allocations: 20.84 kB / 0.6502 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.007065, allocations: 35.97 kB / 0.6502 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.0071, allocations: 30.56 kB / 0.6502 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.007101, allocations: 4 kB / 0.6502 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002571/0.007358, allocations: 65.61 kB / 0.6503 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.0074, allocations: 55.41 kB / 0.6504 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.007501, allocations: 113.8 kB / 0.6505 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.007517, allocations: 25.7 kB / 0.6505 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.007577, allocations: 100 kB / 0.6506 GB, free: 1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.007593, allocations: 3.953 kB / 0.6506 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.007626, allocations: 13.72 kB / 0.6506 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.007775, allocations: 318.8 kB / 0.6509 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.007823, allocations: 12.12 kB / 0.6509 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.007864, allocations: 11.98 kB / 0.6509 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.727e-05/0.007951, allocations: 20.86 kB / 0.651 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007952, allocations: 0 / 0.651 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001384/0.008091, allocations: 61.61 kB / 0.651 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.008102, allocations: 4 kB / 0.651 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.008106, allocations: 0 / 0.651 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.008117, allocations: 0 / 0.651 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.008182, allocations: 12.03 kB / 0.651 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.008185, allocations: 0 / 0.651 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.008223, allocations: 7.984 kB / 0.651 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.00823, allocations: 0 / 0.651 GB, free: 0.5195 MB / 0.5606 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.684e-05/0.008316, allocations: 113.8 kB / 0.6511 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.008347, allocations: 7.891 kB / 0.6512 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.008521, allocations: 61.3 kB / 0.6512 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.008528, allocations: 7.984 kB / 0.6512 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.008532, allocations: 0 / 0.6512 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.008534, allocations: 4.031 kB / 0.6512 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.008682, allocations: 113.3 kB / 0.6513 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.008683, allocations: 0 / 0.6513 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.008731, allocations: 11.92 kB / 0.6513 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008733, allocations: 0 / 0.6513 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.008739, allocations: 0 / 0.6513 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.00874, allocations: 0 / 0.6513 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.008744, allocations: 3.938 kB / 0.6513 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2402/0.2489, allocations: 149.9 kB / 0.6515 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.2489, allocations: 5.219 kB / 0.6515 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2489, allocations: 1.5 kB / 0.6515 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.249, allocations: 3.953 kB / 0.6515 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.249, allocations: 3.719 kB / 0.6515 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.249, allocations: 4.031 kB / 0.6515 GB, free: 56.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.2491, allocations: 88.88 kB / 0.6516 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2491, allocations: 0 / 0.6516 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002569/0.2493, allocations: 24.41 kB / 0.6516 GB, free: 56.61 MB / 0.5606 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.0001606/0.2495, allocations: 110.7 kB / 0.6517 GB, free: 56.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.2496, allocations: 20.92 kB / 0.6517 GB, free: 56.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2496, allocations: 3.469 kB / 0.6517 GB, free: 56.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.2497, allocations: 15.83 kB / 0.6518 GB, free: 56.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2499, allocations: 4.75 kB / 0.6518 GB, free: 56.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.2502, allocations: 139.8 kB / 0.6519 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.67e-05/0.2502, allocations: 66.39 kB / 0.652 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.2503, allocations: 3.719 kB / 0.652 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.2503, allocations: 9 kB / 0.652 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.2503, allocations: 0 / 0.652 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.002872/0.2532, allocations: 0.5294 MB / 0.6525 GB, free: 56.34 MB / 0.5606 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: 5.903858046978712] Failed to read output from testmodel.py, exit status != 0: 0.2606361098587513 0.26941901399999996 0.26204145599999995 Calling exit ...