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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009006, allocations: 99.47 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.0009346/0.0009346, 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.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9928/0.9928, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005581/0.0005583, allocations: 16 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1959, allocations: 83.4 MB / 0.5974 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006265/0.1966, allocations: 339 kB / 0.5977 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.198, allocations: 1.237 MB / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.198, allocations: 0 / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.777e-06/0.198, allocations: 3.938 kB / 0.5989 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.93e-05/0.198, allocations: 0 / 0.5989 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1983, allocations: 51.81 kB / 0.5989 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.84e-05/0.1984, allocations: 7.984 kB / 0.599 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.1984, allocations: 7.984 kB / 0.599 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.1984, allocations: 15.94 kB / 0.599 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.1985, allocations: 15.92 kB / 0.599 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1985, allocations: 4 kB / 0.599 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.1987, allocations: 87.89 kB / 0.5991 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.1987, allocations: 11.92 kB / 0.5991 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.1988, allocations: 29.7 kB / 0.5991 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.23e-05/0.1989, allocations: 43.94 kB / 0.5992 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1989, allocations: 0 / 0.5992 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1989, allocations: 0 / 0.5992 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.1989, allocations: 0 / 0.5992 GB, free: 5.934 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.0003612/0.1992, allocations: 347.5 kB / 0.5995 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1993, allocations: 12.03 kB / 0.5995 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.1993, allocations: 34.55 kB / 0.5995 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.1994, allocations: 8 kB / 0.5995 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/0.1995, allocations: 167 kB / 0.5997 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1995, allocations: 4 kB / 0.5997 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1995, allocations: 7.938 kB / 0.5997 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1996, allocations: 53.67 kB / 0.5998 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1996, allocations: 7.938 kB / 0.5998 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1996, allocations: 0 / 0.5998 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1996, allocations: 0 / 0.5998 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/0.1997, allocations: 23.98 kB / 0.5998 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1999, allocations: 169.5 kB / 0.6 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.2, allocations: 58.5 kB / 0.6 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/0.2004, allocations: 0.5622 MB / 0.6006 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.2005, allocations: 38.56 kB / 0.6006 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2005, allocations: 0 / 0.6006 GB, free: 4.16 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.3352/0.5357, allocations: 4.283 MB / 0.6048 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.5358, allocations: 56.31 kB / 0.6048 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.5359, allocations: 91.72 kB / 0.6049 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.395e-05/0.536, allocations: 30.86 kB / 0.6049 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.536, allocations: 81.22 kB / 0.605 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5361, allocations: 57.75 kB / 0.6051 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.5362, allocations: 3.75 kB / 0.6051 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.5363, allocations: 321.8 kB / 0.6054 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.5367, allocations: 304.5 kB / 0.6057 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.5372, allocations: 320.5 kB / 0.606 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.538, allocations: 388.7 kB / 0.6064 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.538, allocations: 0 / 0.6064 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001398/0.5394, allocations: 0.7976 MB / 0.6071 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.5395, allocations: 4.594 kB / 0.6071 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5395, allocations: 0 / 0.6071 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.5395, allocations: 3.688 kB / 0.6071 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.5404, allocations: 88.89 kB / 0.6072 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5404, allocations: 2.391 kB / 0.6072 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.5409, allocations: 14.62 kB / 0.6072 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.541, allocations: 31.38 kB / 0.6073 GB, free: 40.55 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.0001904/0.5412, allocations: 125.9 kB / 0.6074 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.5413, allocations: 8.25 kB / 0.6074 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.5443, allocations: 1.394 MB / 0.6088 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5443, allocations: 6.5 kB / 0.6088 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5444, allocations: 0 / 0.6088 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.5444, allocations: 4.266 kB / 0.6088 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.5472, allocations: 1.813 MB / 0.6105 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5472, allocations: 2.812 kB / 0.6105 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007568/0.5479, allocations: 107 kB / 0.6107 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.5479, allocations: 0 / 0.6107 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.548, allocations: 29.91 kB / 0.6107 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.548, allocations: 2.75 kB / 0.6107 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.548, allocations: 0.75 kB / 0.6107 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.5502, allocations: 1.477 MB / 0.6121 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.5503, allocations: 94.61 kB / 0.6122 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.5504, allocations: 10.59 kB / 0.6122 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.5509, allocations: 10.41 kB / 0.6122 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.551, allocations: 49.19 kB / 0.6123 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.5511, allocations: 32.44 kB / 0.6123 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.5511, allocations: 78.12 kB / 0.6124 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5511, allocations: 1.125 kB / 0.6124 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005432/0.5517, allocations: 181.1 kB / 0.6126 GB, free: 39.41 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.002696/0.5544, allocations: 2.203 MB / 0.6147 GB, free: 38.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.5555, allocations: 0.7213 MB / 0.6154 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5556, allocations: 0 / 0.6154 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.5561, allocations: 451.8 kB / 0.6158 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.5564, allocations: 12.25 kB / 0.6159 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.5615, allocations: 2.14 MB / 0.618 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.5618, allocations: 0.7249 MB / 0.6187 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00134/0.5631, allocations: 297.8 kB / 0.6189 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/0.5637, allocations: 116.2 kB / 0.6191 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.5637, allocations: 3.75 kB / 0.6191 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.5862, allocations: 11.69 MB / 0.6305 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.5865, allocations: 214 kB / 0.6307 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.383, allocations: 2.656 kB / 0.6307 GB, free: 34.67 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: