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.0009511/0.0009511, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001365/0.001365, allocations: 168.7 kB / 15.95 MB, free: 204 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.312/1.312, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9973/0.9973, allocations: 143.4 MB / 434.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004195, allocations: 15.98 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 83.41 MB / 0.5976 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007532/0.1739, allocations: 343 kB / 0.5979 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1758, allocations: 1.229 MB / 0.5991 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.1759, allocations: 4 kB / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.1759, allocations: 0 / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.084e-05/0.1759, allocations: 0 / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.1764, allocations: 59.8 kB / 0.5991 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.1765, allocations: 15.98 kB / 0.5992 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.1765, allocations: 4 kB / 0.5992 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.167e-05/0.1766, allocations: 11.92 kB / 0.5992 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.1767, allocations: 15.98 kB / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1767, allocations: 4 kB / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.177, allocations: 95.89 kB / 0.5993 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.177, allocations: 3.938 kB / 0.5993 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.177, allocations: 33.64 kB / 0.5993 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1772, allocations: 47.92 kB / 0.5994 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1772, allocations: 0 / 0.5994 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.405e-06/0.1772, allocations: 0 / 0.5994 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.1772, allocations: 0 / 0.5994 GB, free: 5.836 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.0005164/0.1778, allocations: 350.1 kB / 0.5997 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1778, allocations: 8.031 kB / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.1779, allocations: 38.56 kB / 0.5997 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.1779, allocations: 3.984 kB / 0.5997 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1781, allocations: 171 kB / 0.5999 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1781, allocations: 0 / 0.5999 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1781, allocations: 8 kB / 0.5999 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1783, allocations: 53.66 kB / 0.6 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1783, allocations: 0 / 0.6 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1783, allocations: 8 kB / 0.6 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1784, allocations: 3.984 kB / 0.6 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.956e-05/0.1784, allocations: 23.98 kB / 0.6 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.1787, allocations: 173.5 kB / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1789, allocations: 58.5 kB / 0.6002 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.179, allocations: 24.84 kB / 0.6002 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007134/0.1797, allocations: 0.5622 MB / 0.6008 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1797, allocations: 34.56 kB / 0.6008 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.724e-06/0.1798, allocations: 0 / 0.6008 GB, free: 4.035 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.3234/0.5032, allocations: 4.273 MB / 0.605 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.5033, allocations: 52.81 kB / 0.6051 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.5034, allocations: 96.83 kB / 0.6051 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.5035, allocations: 25.7 kB / 0.6052 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/0.5035, allocations: 80.14 kB / 0.6052 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.5036, allocations: 62.31 kB / 0.6053 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.5037, allocations: 2.5 kB / 0.6053 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.5038, allocations: 318.1 kB / 0.6056 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.5042, allocations: 307.8 kB / 0.6059 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.5047, allocations: 312.2 kB / 0.6062 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.5055, allocations: 393.2 kB / 0.6066 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5055, allocations: 1.875 kB / 0.6066 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001359/0.5068, allocations: 0.8007 MB / 0.6074 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5069, allocations: 5.875 kB / 0.6074 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5069, allocations: 0.5 kB / 0.6074 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5069, allocations: 0.75 kB / 0.6074 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.5076, allocations: 93.33 kB / 0.6075 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5076, allocations: 6.734 kB / 0.6075 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.508, allocations: 9.875 kB / 0.6075 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.508, allocations: 36.69 kB / 0.6075 GB, free: 40.23 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.0001461/0.5082, allocations: 122.2 kB / 0.6076 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.5083, allocations: 2.906 kB / 0.6076 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.5113, allocations: 1.395 MB / 0.609 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5113, allocations: 3 kB / 0.609 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5114, allocations: 1.031 kB / 0.609 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5114, allocations: 5.688 kB / 0.609 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.5139, allocations: 1.814 MB / 0.6108 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5139, allocations: 0 / 0.6108 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.5146, allocations: 110.3 kB / 0.6109 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.5146, allocations: 0.5625 kB / 0.6109 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.5147, allocations: 25.81 kB / 0.6109 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.5147, allocations: 8.781 kB / 0.6109 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5147, allocations: 3.328 kB / 0.6109 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.5168, allocations: 1.467 MB / 0.6123 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.5169, allocations: 93.75 kB / 0.6124 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/0.5169, allocations: 7.219 kB / 0.6124 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.5173, allocations: 13.56 kB / 0.6125 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5174, allocations: 38.88 kB / 0.6125 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.5175, allocations: 41.98 kB / 0.6125 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.036e-05/0.5175, allocations: 78.16 kB / 0.6126 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5175, allocations: 0 / 0.6126 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005135/0.5181, allocations: 178.3 kB / 0.6128 GB, free: 39.17 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.003528/0.5216, allocations: 2.127 MB / 0.6149 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.5234, allocations: 0.7212 MB / 0.6156 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5234, allocations: 0 / 0.6156 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.5243, allocations: 447.8 kB / 0.616 GB, free: 37.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.5249, allocations: 17.41 kB / 0.616 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/0.5323, allocations: 2.147 MB / 0.6181 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.5325, allocations: 0.7229 MB / 0.6188 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00245/0.5349, allocations: 290.4 kB / 0.6191 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008032/0.5358, allocations: 122.7 kB / 0.6192 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of SimCode: time 7.32e-07/0.5358, allocations: 0 / 0.6192 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.5688, allocations: 11.72 MB / 0.6306 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.5691, allocations: 229.8 kB / 0.6309 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.349, allocations: 0 / 0.6309 GB, free: 34.51 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: