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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 113.9 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002286/0.002286, allocations: 278.7 kB / 303.6 MB, free: 3.754 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 180.9 MB / 0.5268 GB, free: 2.695 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002695/0.002695, allocations: 107.8 kB / 0.726 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.5014, allocations: 94.16 MB / 0.8179 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001632/0.503, allocations: 0.5791 MB / 0.8185 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.5043, allocations: 1.265 MB / 0.8197 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.5044, allocations: 0 / 0.8197 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.5044, allocations: 1.125 kB / 0.8197 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-06/0.5044, allocations: 3.938 kB / 0.8197 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.5047, allocations: 64.94 kB / 0.8198 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.258e-05/0.5048, allocations: 1.469 kB / 0.8198 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.5048, allocations: 9.406 kB / 0.8198 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.5048, allocations: 0.8438 kB / 0.8198 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.5049, allocations: 5.391 kB / 0.8198 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.5049, allocations: 0 / 0.8198 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.5051, allocations: 100.8 kB / 0.8199 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.5051, allocations: 3.984 kB / 0.8199 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.5051, allocations: 4.938 kB / 0.8199 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.5052, allocations: 53.56 kB / 0.82 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5052, allocations: 4 kB / 0.82 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5053, allocations: 0 / 0.82 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.5053, allocations: 0.7812 kB / 0.82 GB, free: 6.043 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002392/0.5055, allocations: 324.8 kB / 0.8203 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5055, allocations: 8.688 kB / 0.8203 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.5056, allocations: 2.312 kB / 0.8203 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.322e-05/0.5056, allocations: 167.9 kB / 0.8204 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.5056, allocations: 1.438 kB / 0.8204 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.5056, allocations: 1.688 kB / 0.8204 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.962e-05/0.5057, allocations: 35.08 kB / 0.8205 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.5057, allocations: 0 / 0.8205 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.5057, allocations: 5 kB / 0.8205 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.5057, allocations: 0 / 0.8205 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.5057, allocations: 2.562 kB / 0.8205 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.636e-05/0.5058, allocations: 146.5 kB / 0.8206 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 2.979e-05/0.5059, allocations: 20.55 kB / 0.8206 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.5059, allocations: 5.766 kB / 0.8206 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.5063, allocations: 0.565 MB / 0.8212 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.5063, allocations: 39.28 kB / 0.8212 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5063, allocations: 0 / 0.8212 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.5064, allocations: 34.02 kB / 0.8213 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.5064, allocations: 52.25 kB / 0.8213 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.575e-05/0.5064, allocations: 89.86 kB / 0.8214 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.5064, allocations: 29.7 kB / 0.8214 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-06/0.5064, allocations: 85.11 kB / 0.8215 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.5065, allocations: 4.797 kB / 0.8215 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.5065, allocations: 11.19 kB / 0.8215 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.5065, allocations: 312 kB / 0.8218 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.5065, allocations: 1.125 kB / 0.8218 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.5065, allocations: 4.469 kB / 0.8218 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.5066, allocations: 11.05 kB / 0.8218 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5066, allocations: 5 kB / 0.8218 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.995e-05/0.5066, allocations: 38.83 kB / 0.8219 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5066, allocations: 9.156 kB / 0.8219 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5066, allocations: 3.984 kB / 0.8219 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.5066, allocations: 1.438 kB / 0.8219 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.594e-05/0.5067, allocations: 1.594 kB / 0.8219 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5067, allocations: 7.172 kB / 0.8219 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.029e-05/0.5067, allocations: 1.062 kB / 0.8219 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.5067, allocations: 0 / 0.8219 GB, free: 3.801 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 (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 3.577e-05/0.5067, allocations: 115.2 kB / 0.822 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-06/0.5067, allocations: 5.188 kB / 0.822 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.5068, allocations: 49.08 kB / 0.8221 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.5068, allocations: 0 / 0.8221 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5068, allocations: 1.281 kB / 0.8221 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5068, allocations: 0 / 0.8221 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.42e-05/0.5068, allocations: 143 kB / 0.8222 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5068, allocations: 0 / 0.8222 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.5069, allocations: 9.734 kB / 0.8222 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5069, allocations: 3.938 kB / 0.8222 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.5069, allocations: 1.25 kB / 0.8222 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.5069, allocations: 0 / 0.8222 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5069, allocations: 0 / 0.8222 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.544e-05/0.5069, allocations: 62.73 kB / 0.8223 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.5069, allocations: 78.23 kB / 0.8224 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.5069, allocations: 7.969 kB / 0.8224 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-06/0.5069, allocations: 1.312 kB / 0.8224 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.507, allocations: 0 / 0.8224 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.507, allocations: 1.344 kB / 0.8224 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.059e-05/0.507, allocations: 75.28 kB / 0.8224 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.507, allocations: 0 / 0.8224 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001926/0.5072, allocations: 5 kB / 0.8224 GB, free: 3.191 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 (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.0001283/0.5073, allocations: 106.7 kB / 0.8225 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.958e-05/0.5074, allocations: 7.312 kB / 0.8225 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5074, allocations: 1.125 kB / 0.8225 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.5074, allocations: 1.25 kB / 0.8226 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.5075, allocations: 14.09 kB / 0.8226 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001447/0.5076, allocations: 107.8 kB / 0.8227 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.166e-05/0.5077, allocations: 0.6696 MB / 0.8233 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.5077, allocations: 8.938 kB / 0.8233 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.5077, allocations: 0 / 0.8233 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of Templates: time 0.001749/0.5095, allocations: 441.1 kB / 0.8238 GB, free: 2.23 MB / 0.5762 GB " [Timeout remaining time 659] 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: 7.777273942017928] Failed to read output from testmodel.py, exit status != 0: 0.5163006479851902 0.52694447 0.018929283 Calling exit ...