Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.001348/0.001348, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001415/0.001415, allocations: 186 kB / 20.78 MB, free: 1.547 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.459/1.459, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.00237/0.00237, allocations: 288.2 kB / 304.8 MB, free: 3.531 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.047/1.047, allocations: 180.9 MB / 0.5281 GB, free: 1.898 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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 99.83 kB / 0.7284 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5184/0.5212, allocations: 94.15 MB / 0.8203 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002527/0.5238, allocations: 0.624 MB / 0.8209 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.5265, allocations: 1.298 MB / 0.8222 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.5265, allocations: 0 / 0.8222 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.5265, allocations: 4.875 kB / 0.8222 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.222e-05/0.5266, allocations: 0 / 0.8222 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.5271, allocations: 77.88 kB / 0.8223 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.433e-05/0.5271, allocations: 23.17 kB / 0.8223 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.5272, allocations: 9.297 kB / 0.8223 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.5272, allocations: 10.53 kB / 0.8223 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.5273, allocations: 19.94 kB / 0.8223 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.5273, allocations: 1.094 kB / 0.8223 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.5277, allocations: 104.5 kB / 0.8224 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.5277, allocations: 6.094 kB / 0.8225 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.5277, allocations: 14.5 kB / 0.8225 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.5279, allocations: 67.06 kB / 0.8225 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5279, allocations: 1.25 kB / 0.8225 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5279, allocations: 0 / 0.8225 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.528, allocations: 4 kB / 0.8225 GB, free: 2.992 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006432/0.5286, allocations: 355 kB / 0.8229 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5286, allocations: 9.375 kB / 0.8229 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.5287, allocations: 3.875 kB / 0.8229 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.5288, allocations: 161.5 kB / 0.823 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5289, allocations: 1.406 kB / 0.823 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.5289, allocations: 3.75 kB / 0.823 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5291, allocations: 65.69 kB / 0.8231 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5291, allocations: 4 kB / 0.8231 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5291, allocations: 1.562 kB / 0.8231 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5291, allocations: 0 / 0.8231 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.706e-05/0.5292, allocations: 21.73 kB / 0.8231 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.5295, allocations: 165.6 kB / 0.8233 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.5297, allocations: 58.61 kB / 0.8234 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.269e-05/0.5297, allocations: 23.02 kB / 0.8234 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008539/0.5306, allocations: 0.566 MB / 0.8239 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.5306, allocations: 39.41 kB / 0.824 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.5306, allocations: 0 / 0.824 GB, free: 1.363 MB / 0.5606 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.02675/0.5574, allocations: 4.384 MB / 0.8282 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.5574, allocations: 54.28 kB / 0.8283 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.5575, allocations: 91.3 kB / 0.8284 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.5576, allocations: 29.7 kB / 0.8284 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.5576, allocations: 81.45 kB / 0.8285 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.5577, allocations: 62.11 kB / 0.8285 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.558, allocations: 96.28 kB / 0.8286 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5582, allocations: 320.2 kB / 0.8289 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.5587, allocations: 306.8 kB / 0.8292 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.5593, allocations: 311.6 kB / 0.8295 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.5609, allocations: 0.7729 MB / 0.8303 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5609, allocations: 3.938 kB / 0.8303 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001648/0.5625, allocations: 0.8008 MB / 0.8311 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5625, allocations: 8.281 kB / 0.8311 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5625, allocations: 0 / 0.8311 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5626, allocations: 13.09 kB / 0.8311 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/0.5633, allocations: 89.52 kB / 0.8312 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5633, allocations: 3.984 kB / 0.8312 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.5638, allocations: 9 kB / 0.8312 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/0.5639, allocations: 32.39 kB / 0.8312 GB, free: 13.05 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 (18): * Single equations (assignments): 18 * 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 0.0001868/0.5641, allocations: 124.8 kB / 0.8313 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.5642, allocations: 8.234 kB / 0.8314 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003211/0.5674, allocations: 1.392 MB / 0.8327 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5674, allocations: 7.703 kB / 0.8327 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5674, allocations: 1.281 kB / 0.8327 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5674, allocations: 4 kB / 0.8327 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.5705, allocations: 1.826 MB / 0.8345 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5705, allocations: 0 / 0.8345 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.5713, allocations: 109.3 kB / 0.8346 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.5713, allocations: 1.375 kB / 0.8346 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/0.5714, allocations: 33.48 kB / 0.8346 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.5714, allocations: 1.969 kB / 0.8346 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5714, allocations: 1.375 kB / 0.8346 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.5739, allocations: 1.466 MB / 0.8361 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.574, allocations: 93.7 kB / 0.8362 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5741, allocations: 14.88 kB / 0.8362 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.5746, allocations: 9.906 kB / 0.8362 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.5747, allocations: 46.34 kB / 0.8362 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-05/0.5748, allocations: 30.52 kB / 0.8363 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.5749, allocations: 76.41 kB / 0.8363 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5749, allocations: 0 / 0.8363 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006716/0.5756, allocations: 178.5 kB / 0.8365 GB, free: 9.719 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0005845/0.5761, allocations: 228 kB / 0.8367 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.5775, allocations: 0.7135 MB / 0.8374 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5775, allocations: 1.344 kB / 0.8374 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.5782, allocations: 404.6 kB / 0.8378 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.5785, allocations: 20.62 kB / 0.8378 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.5818, allocations: 0.8189 MB / 0.8386 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.5821, allocations: 0.7142 MB / 0.8393 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001064/0.5832, allocations: 293.7 kB / 0.8396 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.5837, allocations: 93.94 kB / 0.8397 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.5837, allocations: 0 / 0.8397 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of Templates: time 0.01877/0.6025, allocations: 11.69 MB / 0.8511 GB, free: 13.72 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.404812527820468]