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.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.002209/0.002209, allocations: 85.48 kB / 19.44 MB, free: 340 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.002592/0.002592, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.004333/0.004333, allocations: 233.4 kB / 259.8 MB, free: 12.86 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.162/1.162, allocations: 138.4 MB / 454.7 MB, free: 1.508 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.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 1.583e-06/1.583e-06, allocations: 0 / 0.5544 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.707e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001677/0.001704, allocations: 0.6195 MB / 0.555 GB, free: 212 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.003728, allocations: 1.318 MB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.00375, allocations: 0 / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.003763, allocations: 7.938 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.347e-05/0.003787, allocations: 0 / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.004189, allocations: 87.58 kB / 0.5564 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.004248, allocations: 23.97 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.957e-05/0.004278, allocations: 0 / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.004325, allocations: 19.92 kB / 0.5564 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.004391, allocations: 11.97 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.004409, allocations: 4 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.004702, allocations: 107.8 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.004718, allocations: 11.98 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.004744, allocations: 11.92 kB / 0.5565 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.004937, allocations: 83.77 kB / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004939, allocations: 0 / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004939, allocations: 0 / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.004943, allocations: 4 kB / 0.5566 GB, free: 14.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005274/0.00547, allocations: 384 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.005507, allocations: 8.75 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.005551, allocations: 4.938 kB / 0.557 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.005663, allocations: 108.6 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.005673, allocations: 4.375 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.0057, allocations: 8.375 kB / 0.5571 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.005851, allocations: 83.86 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.005862, allocations: 192 / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.005874, allocations: 4.375 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.005883, allocations: 7.938 kB / 0.5572 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.005962, allocations: 19.97 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.006167, allocations: 128.6 kB / 0.5574 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.006304, allocations: 66.98 kB / 0.5574 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.006361, allocations: 27.67 kB / 0.5575 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.00662, allocations: 43.91 kB / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.006656, allocations: 33.39 kB / 0.5575 GB, free: 13.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.006657, allocations: 0 / 0.5575 GB, free: 13.46 MB / 490.7 MB 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.02628/0.03294, allocations: 6.006 MB / 0.5634 GB, free: 7.348 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.03301, allocations: 59.39 kB / 0.5634 GB, free: 7.277 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.03316, allocations: 153.9 kB / 0.5636 GB, free: 7.109 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.03326, allocations: 29.7 kB / 0.5636 GB, free: 7.074 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.03334, allocations: 126.9 kB / 0.5637 GB, free: 6.945 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.03353, allocations: 63.47 kB / 0.5638 GB, free: 6.883 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/0.03395, allocations: 99.33 kB / 0.5639 GB, free: 6.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003567/0.03431, allocations: 0.4923 MB / 0.5644 GB, free: 6.273 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.03554, allocations: 0.5507 MB / 0.5649 GB, free: 5.723 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.03681, allocations: 0.5495 MB / 0.5655 GB, free: 5.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003514/0.04032, allocations: 1.273 MB / 0.5667 GB, free: 3.898 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.04032, allocations: 8.062 kB / 0.5667 GB, free: 3.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003546/0.04387, allocations: 1.306 MB / 0.568 GB, free: 2.578 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.0439, allocations: 14.95 kB / 0.568 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.04391, allocations: 0.5469 kB / 0.568 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.04393, allocations: 3.984 kB / 0.568 GB, free: 2.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.04518, allocations: 87.95 kB / 0.5681 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.04519, allocations: 0 / 0.5681 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/0.04599, allocations: 15.94 kB / 0.5681 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.04614, allocations: 35.97 kB / 0.5681 GB, free: 2.426 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 (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.0003324/0.04647, allocations: 164.6 kB / 0.5683 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.0467, allocations: 15.89 kB / 0.5683 GB, free: 2.238 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005578/0.05228, allocations: 1.509 MB / 0.5698 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.05229, allocations: 8 kB / 0.5698 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.05229, allocations: 3.938 kB / 0.5698 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.0523, allocations: 3.984 kB / 0.5698 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.05754, allocations: 1.854 MB / 0.5716 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.05754, allocations: 0 / 0.5716 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.05876, allocations: 107.9 kB / 0.5717 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.05877, allocations: 4 kB / 0.5717 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.05889, allocations: 24 kB / 0.5717 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.0589, allocations: 4 kB / 0.5717 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.0589, allocations: 0 / 0.5717 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/0.06358, allocations: 1.68 MB / 0.5734 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.06362, allocations: 15.84 kB / 0.5734 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.06378, allocations: 16 kB / 0.5734 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007507/0.06453, allocations: 8 kB / 0.5734 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.06478, allocations: 47.94 kB / 0.5735 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.06492, allocations: 32 kB / 0.5735 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.145e-05/0.06501, allocations: 119.2 kB / 0.5736 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.06501, allocations: 0 / 0.5736 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001037/0.06605, allocations: 191.6 kB / 0.5738 GB, free: 12.54 MB / 0.4948 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.0009094/0.06696, allocations: 238.8 kB / 0.574 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002698/0.06966, allocations: 1.05 MB / 0.575 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.06966, allocations: 4.094 kB / 0.575 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.0709, allocations: 492 kB / 0.5755 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.07147, allocations: 36 kB / 0.5755 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.07689, allocations: 0.845 MB / 0.5764 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.07705, allocations: 107.3 kB / 0.5765 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001748/0.0788, allocations: 293.5 kB / 0.5768 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008792/0.07968, allocations: 96.41 kB / 0.5768 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of SimCode: time 1.423e-06/0.07968, allocations: 0 / 0.5768 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of Templates: time 0.02878/0.1085, allocations: 12.3 MB / 0.5889 GB, free: 13.12 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.226603113929741]