Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009536, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009985/0.0009986, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9794/0.9794, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004486, allocations: 8 kB / 0.5158 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1564, allocations: 83.41 MB / 0.5973 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007533/0.1572, allocations: 347 kB / 0.5976 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1589, allocations: 1.225 MB / 0.5988 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.1589, allocations: 4 kB / 0.5988 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.1589, allocations: 0 / 0.5988 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.195e-05/0.159, allocations: 3.938 kB / 0.5988 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1593, allocations: 59.8 kB / 0.5989 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.259e-05/0.1593, allocations: 7.984 kB / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.1594, allocations: 4 kB / 0.5989 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.1594, allocations: 8 kB / 0.5989 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.1595, allocations: 19.91 kB / 0.5989 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1595, allocations: 0 / 0.5989 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1597, allocations: 91.89 kB / 0.599 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1597, allocations: 7.984 kB / 0.599 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.1598, allocations: 33.64 kB / 0.599 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.514e-05/0.1599, allocations: 43.94 kB / 0.5991 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1599, allocations: 0 / 0.5991 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1599, allocations: 4 kB / 0.5991 GB, free: 6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1599, allocations: 0 / 0.5991 GB, free: 6 MB / 0.4981 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.0003931/0.1603, allocations: 339.7 kB / 0.5994 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1603, allocations: 8.031 kB / 0.5994 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.1604, allocations: 7.906 kB / 0.5994 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1605, allocations: 167 kB / 0.5996 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1605, allocations: 0 / 0.5996 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1605, allocations: 8 kB / 0.5996 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1607, allocations: 53.67 kB / 0.5996 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1607, allocations: 3.938 kB / 0.5997 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1607, allocations: 4 kB / 0.5997 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1607, allocations: 7.938 kB / 0.5997 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.1608, allocations: 19.98 kB / 0.5997 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.161, allocations: 165.6 kB / 0.5998 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1611, allocations: 62.61 kB / 0.5999 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005139/0.1616, allocations: 0.5663 MB / 0.6005 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.1616, allocations: 30.56 kB / 0.6005 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1617, allocations: 0 / 0.6005 GB, free: 4.285 MB / 0.4981 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.2809/0.4425, allocations: 4.281 MB / 0.6047 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.4426, allocations: 59.02 kB / 0.6047 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.141e-05/0.4427, allocations: 93.81 kB / 0.6048 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.4428, allocations: 28.64 kB / 0.6048 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.531e-05/0.4428, allocations: 81.8 kB / 0.6049 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.4429, allocations: 54.3 kB / 0.605 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.443, allocations: 2.188 kB / 0.605 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.443, allocations: 319.4 kB / 0.6053 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.4435, allocations: 315 kB / 0.6056 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.4439, allocations: 316.6 kB / 0.6059 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.4446, allocations: 386.9 kB / 0.6062 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4446, allocations: 2.062 kB / 0.6062 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001366/0.446, allocations: 0.7957 MB / 0.607 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.446, allocations: 5.281 kB / 0.607 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.446, allocations: 0 / 0.607 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.446, allocations: 2.688 kB / 0.607 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.4468, allocations: 95.06 kB / 0.6071 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4469, allocations: 4.625 kB / 0.6071 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.4474, allocations: 9.469 kB / 0.6071 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.4475, allocations: 36.59 kB / 0.6072 GB, free: 40.49 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.4477, allocations: 123.6 kB / 0.6073 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.4477, allocations: 7.125 kB / 0.6073 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.4506, allocations: 1.397 MB / 0.6087 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4507, allocations: 5.938 kB / 0.6087 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4507, allocations: 0 / 0.6087 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.4507, allocations: 0 / 0.6087 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.4533, allocations: 1.805 MB / 0.6104 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4533, allocations: 0 / 0.6104 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.4541, allocations: 116.4 kB / 0.6105 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.4541, allocations: 0 / 0.6105 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.4542, allocations: 24.38 kB / 0.6106 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4542, allocations: 7.266 kB / 0.6106 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4542, allocations: 2.5 kB / 0.6106 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.4563, allocations: 1.472 MB / 0.612 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.4564, allocations: 98.73 kB / 0.6121 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-05/0.4565, allocations: 7.844 kB / 0.6121 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.457, allocations: 13.88 kB / 0.6121 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.4571, allocations: 45.7 kB / 0.6122 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.4572, allocations: 26.69 kB / 0.6122 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.202e-05/0.4572, allocations: 86.5 kB / 0.6123 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4572, allocations: 0 / 0.6123 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000537/0.4578, allocations: 174.7 kB / 0.6124 GB, free: 39.44 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004417/0.4582, allocations: 228.8 kB / 0.6127 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009933/0.4592, allocations: 0.7245 MB / 0.6134 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4592, allocations: 0 / 0.6134 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005339/0.4598, allocations: 455.8 kB / 0.6138 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.46, allocations: 6.781 kB / 0.6138 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.4631, allocations: 0.8502 MB / 0.6146 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.4633, allocations: 0.7211 MB / 0.6153 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001397/0.4647, allocations: 294.4 kB / 0.6156 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.4652, allocations: 98 kB / 0.6157 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.4652, allocations: 0 / 0.6157 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.0134/0.4786, allocations: 10.43 MB / 0.6259 GB, free: 36.98 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: