Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.001672/0.001672, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002118/0.002118, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.002535/0.002535, allocations: 233.2 kB / 259.8 MB, free: 12.85 MB / 250.7 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.088/1.088, allocations: 138.4 MB / 454.7 MB, free: 1.496 MB / 362.7 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.826e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001723/0.001751, allocations: 0.5848 MB / 0.555 GB, free: 220 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.003839, allocations: 1.283 MB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.003855, allocations: 0 / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.003866, allocations: 0 / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-06/0.003871, allocations: 0 / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.004273, allocations: 71.67 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.217e-05/0.004316, allocations: 7.938 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.855e-05/0.004344, allocations: 0 / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.004369, allocations: 4 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.004411, allocations: 8 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.004421, allocations: 0 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.004754, allocations: 103.8 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.004764, allocations: 3.984 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.004785, allocations: 7.938 kB / 0.5564 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.004954, allocations: 67.86 kB / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004957, allocations: 0 / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004957, allocations: 0 / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004961, allocations: 0 / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003291/0.00529, allocations: 254.3 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.005327, allocations: 12.75 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.005368, allocations: 4.938 kB / 0.5567 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.005472, allocations: 105.8 kB / 0.5568 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.005483, allocations: 384 / 0.5568 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.00549, allocations: 384 / 0.5568 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.826e-05/0.005578, allocations: 30.27 kB / 0.5569 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005585, allocations: 4.125 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.005593, allocations: 384 / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005599, allocations: 3.938 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.005617, allocations: 3.938 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.005753, allocations: 101.3 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.005801, allocations: 18.58 kB / 0.557 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.005821, allocations: 8.953 kB / 0.557 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/0.006151, allocations: 39.95 kB / 0.557 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.006185, allocations: 34.56 kB / 0.5571 GB, free: 13.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.006186, allocations: 0 / 0.5571 GB, free: 13.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000151/0.006337, allocations: 33.64 kB / 0.5571 GB, free: 13.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.006392, allocations: 59.47 kB / 0.5572 GB, free: 13.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.006453, allocations: 93.86 kB / 0.5572 GB, free: 13.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.006474, allocations: 29.7 kB / 0.5573 GB, free: 13.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.006516, allocations: 80.14 kB / 0.5574 GB, free: 13.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.006541, allocations: 3.953 kB / 0.5574 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.006575, allocations: 13.7 kB / 0.5574 GB, free: 13.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.006743, allocations: 314.8 kB / 0.5577 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.006752, allocations: 0 / 0.5577 GB, free: 13.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-06/0.006758, allocations: 0 / 0.5577 GB, free: 13.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.006795, allocations: 16.8 kB / 0.5577 GB, free: 13.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006797, allocations: 4.062 kB / 0.5577 GB, free: 13.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.242e-05/0.006859, allocations: 29.7 kB / 0.5577 GB, free: 13.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.006873, allocations: 8 kB / 0.5577 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.006879, allocations: 3.984 kB / 0.5577 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.006896, allocations: 4 kB / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.946e-05/0.006936, allocations: 0 / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.006947, allocations: 11.92 kB / 0.5577 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.119e-05/0.006958, allocations: 0 / 0.5577 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.006963, allocations: 0 / 0.5577 GB, free: 13.17 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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.333e-05/0.007046, allocations: 105.8 kB / 0.5578 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.007053, allocations: 4.031 kB / 0.5578 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.007147, allocations: 48.62 kB / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007149, allocations: 0 / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.007153, allocations: 0 / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.00716, allocations: 3.938 kB / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.897e-05/0.007259, allocations: 101.3 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.00726, allocations: 0 / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.007276, allocations: 0 / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007278, allocations: 0 / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.007283, allocations: 4.031 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.007287, allocations: 4 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007288, allocations: 0 / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.046e-05/0.007379, allocations: 65.06 kB / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-06/0.007383, allocations: 0 / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-06/0.007392, allocations: 3.938 kB / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.007402, allocations: 0 / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.007416, allocations: 3.984 kB / 0.5581 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.007421, allocations: 4 kB / 0.5581 GB, free: 12.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.729e-05/0.007468, allocations: 83.2 kB / 0.5582 GB, free: 12.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007468, allocations: 4.031 kB / 0.5582 GB, free: 12.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.007674, allocations: 11.94 kB / 0.5582 GB, free: 12.67 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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.000189/0.007863, allocations: 115.2 kB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.854e-05/0.007922, allocations: 4 kB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007923, allocations: 0 / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.007933, allocations: 4 kB / 0.5583 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.008063, allocations: 4 kB / 0.5583 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.008283, allocations: 82.22 kB / 0.5584 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.7e-05/0.00834, allocations: 63.47 kB / 0.5584 GB, free: 12.35 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.742e-05/0.008357, allocations: 0 / 0.5584 GB, free: 12.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.008384, allocations: 12.5 kB / 0.5584 GB, free: 12.34 MB / 490.7 MB Notification: Performance of SimCode: time 4e-07/0.008385, allocations: 0 / 0.5584 GB, free: 12.34 MB / 490.7 MB Notification: Performance of Templates: time 0.002804/0.01119, allocations: 420.3 kB / 0.5588 GB, free: 11.93 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.419161895988509]