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.0009542/0.0009542, allocations: 73.97 kB / 20.66 MB, free: 3.84 MB / 18.57 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.0009763/0.0009763, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.02/1.02, allocations: 177.1 MB / 204.5 MB, free: 5.152 MB / 186.7 MB " [Timeout remaining time 179] 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.001754/0.001754, allocations: 246.7 kB / 261.3 MB, free: 12.51 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 0.7262/0.7262, allocations: 138.4 MB / 456.3 MB, free: 29.9 MB / 410.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.273e-06/1.273e-06, allocations: 0 / 0.5564 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.175e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009214/0.0009332, allocations: 0.5923 MB / 0.557 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002133, allocations: 1.31 MB / 0.5583 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.002148, allocations: 8 kB / 0.5583 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.101e-05/0.002159, allocations: 0 / 0.5583 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.002165, allocations: 0 / 0.5583 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.002434, allocations: 71.67 kB / 0.5584 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.57e-05/0.002469, allocations: 7.938 kB / 0.5584 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.837e-05/0.002498, allocations: 0 / 0.5584 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.002517, allocations: 0 / 0.5584 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.002554, allocations: 4 kB / 0.5584 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.002564, allocations: 3.984 kB / 0.5584 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.002765, allocations: 115.8 kB / 0.5585 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.002773, allocations: 0 / 0.5585 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-06/0.002783, allocations: 4 kB / 0.5585 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.002889, allocations: 67.86 kB / 0.5585 GB, free: 13.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.00289, allocations: 0 / 0.5585 GB, free: 13.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.4e-07/0.002891, allocations: 0 / 0.5585 GB, free: 13.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.002894, allocations: 0 / 0.5585 GB, free: 13.62 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.0002024/0.003097, allocations: 352.2 kB / 0.5589 GB, free: 13.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.003126, allocations: 13.94 kB / 0.5589 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.861e-05/0.003144, allocations: 0.9375 kB / 0.5589 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.908e-05/0.003194, allocations: 104.6 kB / 0.559 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.003201, allocations: 4.375 kB / 0.559 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-06/0.003206, allocations: 384 / 0.559 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.041e-05/0.003256, allocations: 42.19 kB / 0.559 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.003261, allocations: 192 / 0.559 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-06/0.003266, allocations: 384 / 0.559 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.003271, allocations: 7.922 kB / 0.559 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.686e-06/0.00328, allocations: 0 / 0.559 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.488e-05/0.003345, allocations: 93.27 kB / 0.5591 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.894e-05/0.003374, allocations: 27.05 kB / 0.5592 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.031e-05/0.003384, allocations: 11.78 kB / 0.5592 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.003564, allocations: 51.89 kB / 0.5592 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.00358, allocations: 37.39 kB / 0.5593 GB, free: 12.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.003581, allocations: 0 / 0.5593 GB, free: 12.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 7.403e-05/0.003655, allocations: 33.64 kB / 0.5593 GB, free: 12.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.003677, allocations: 55.41 kB / 0.5593 GB, free: 12.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.985e-05/0.003707, allocations: 142.2 kB / 0.5595 GB, free: 12.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.003714, allocations: 25.7 kB / 0.5595 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.003738, allocations: 135 kB / 0.5596 GB, free: 12.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.003757, allocations: 352 / 0.5596 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.003777, allocations: 15.38 kB / 0.5596 GB, free: 12.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.00388, allocations: 0.4922 MB / 0.5601 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.003885, allocations: 0 / 0.5601 GB, free: 11.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-06/0.003889, allocations: 3.938 kB / 0.5601 GB, free: 11.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.935e-05/0.003908, allocations: 11.69 kB / 0.5601 GB, free: 11.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.00391, allocations: 0 / 0.5601 GB, free: 11.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.111e-05/0.003941, allocations: 29.7 kB / 0.5602 GB, free: 11.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.003951, allocations: 4.094 kB / 0.5602 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.003955, allocations: 8 kB / 0.5602 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.00396, allocations: 0 / 0.5602 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-05/0.003984, allocations: 0 / 0.5602 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.003986, allocations: 0 / 0.5602 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-06/0.003995, allocations: 11.88 kB / 0.5602 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.003999, allocations: 4 kB / 0.5602 GB, free: 11.73 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 4.886e-05/0.004048, allocations: 160.5 kB / 0.5604 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-06/0.004051, allocations: 0 / 0.5604 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.004099, allocations: 36.7 kB / 0.5604 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.004101, allocations: 4 kB / 0.5604 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.004102, allocations: 0 / 0.5604 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.004105, allocations: 3.984 kB / 0.5604 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.404e-05/0.004149, allocations: 97.2 kB / 0.5605 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.004149, allocations: 0 / 0.5605 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.004156, allocations: 4 kB / 0.5605 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-07/0.004156, allocations: 0 / 0.5605 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-06/0.004159, allocations: 0 / 0.5605 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00416, allocations: 3.984 kB / 0.5605 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.00416, allocations: 0 / 0.5605 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.274e-05/0.004203, allocations: 88.33 kB / 0.5606 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-06/0.004206, allocations: 3.938 kB / 0.5606 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-06/0.004211, allocations: 0 / 0.5606 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-06/0.004216, allocations: 7.938 kB / 0.5606 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-06/0.004223, allocations: 0 / 0.5606 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-07/0.004224, allocations: 0 / 0.5606 GB, free: 11.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.384e-05/0.004248, allocations: 119.2 kB / 0.5607 GB, free: 11.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004248, allocations: 0 / 0.5607 GB, free: 11.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001207/0.004369, allocations: 8 kB / 0.5607 GB, free: 11.14 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 9.591e-05/0.004465, allocations: 119.2 kB / 0.5608 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.053e-05/0.004505, allocations: 11.69 kB / 0.5608 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.004506, allocations: 0 / 0.5608 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.554e-06/0.004514, allocations: 19.61 kB / 0.5609 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.058e-05/0.004594, allocations: 3.938 kB / 0.5609 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001315/0.004726, allocations: 87.95 kB / 0.5609 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.536e-05/0.004751, allocations: 51.36 kB / 0.561 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.558e-05/0.004767, allocations: 4.125 kB / 0.561 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.004799, allocations: 66.2 kB / 0.5611 GB, free: 10.72 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0048, allocations: 4 kB / 0.5611 GB, free: 10.72 MB / 490.7 MB Notification: Performance of Templates: time 0.001519/0.006319, allocations: 473.2 kB / 0.5615 GB, free: 10.27 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6179401939734817]