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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0008331/0.0008333, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007566/0.007567, allocations: 171.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.027/1.027, allocations: 143.2 MB / 434.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 8 kB / 0.5165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1759, allocations: 83.42 MB / 0.598 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007246/0.1766, allocations: 350.9 kB / 0.5983 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1783, allocations: 1.268 MB / 0.5996 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.1783, allocations: 0 / 0.5996 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.1783, allocations: 7.938 kB / 0.5996 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.221e-05/0.1784, allocations: 0 / 0.5996 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1787, allocations: 59.86 kB / 0.5996 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.1788, allocations: 15.98 kB / 0.5996 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.1788, allocations: 4 kB / 0.5996 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/0.1788, allocations: 11.92 kB / 0.5996 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.1789, allocations: 15.92 kB / 0.5997 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1789, allocations: 4 kB / 0.5997 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1792, allocations: 103.8 kB / 0.5998 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.1792, allocations: 4 kB / 0.5998 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.1792, allocations: 45.61 kB / 0.5998 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.1794, allocations: 63.86 kB / 0.5999 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1794, allocations: 0 / 0.5999 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1794, allocations: 0 / 0.5999 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.1794, allocations: 0 / 0.5999 GB, free: 5.66 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.0004096/0.1798, allocations: 347.7 kB / 0.6002 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1799, allocations: 8.031 kB / 0.6002 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1799, allocations: 34.75 kB / 0.6002 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.1799, allocations: 8.938 kB / 0.6003 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1801, allocations: 168.4 kB / 0.6004 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1801, allocations: 384 / 0.6004 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1801, allocations: 4.375 kB / 0.6004 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1802, allocations: 57.75 kB / 0.6005 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1803, allocations: 3.984 kB / 0.6005 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1803, allocations: 0 / 0.6005 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1803, allocations: 0 / 0.6005 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.1804, allocations: 27.97 kB / 0.6005 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.1805, allocations: 177.6 kB / 0.6007 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1807, allocations: 54.56 kB / 0.6007 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.1807, allocations: 28.84 kB / 0.6008 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/0.1812, allocations: 0.5583 MB / 0.6013 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.1812, allocations: 46.44 kB / 0.6013 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1813, allocations: 0 / 0.6013 GB, free: 3.855 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.3478/0.529, allocations: 4.289 MB / 0.6055 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.5291, allocations: 54.34 kB / 0.6056 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.127e-05/0.5292, allocations: 91.27 kB / 0.6057 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.5292, allocations: 31.61 kB / 0.6057 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.561e-05/0.5293, allocations: 83.38 kB / 0.6058 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.5294, allocations: 57.02 kB / 0.6058 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.5295, allocations: 22.44 kB / 0.6059 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.5295, allocations: 318 kB / 0.6062 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.5299, allocations: 312.8 kB / 0.6065 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.5304, allocations: 307 kB / 0.6067 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.5317, allocations: 0.7745 MB / 0.6075 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5317, allocations: 0 / 0.6075 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001357/0.5331, allocations: 0.7983 MB / 0.6083 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5331, allocations: 6.75 kB / 0.6083 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5331, allocations: 0 / 0.6083 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5331, allocations: 0.8125 kB / 0.6083 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/0.534, allocations: 104.4 kB / 0.6084 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.534, allocations: 1.281 kB / 0.6084 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.5345, allocations: 6.094 kB / 0.6084 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.5346, allocations: 40.19 kB / 0.6084 GB, free: 39.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.5347, allocations: 114.6 kB / 0.6085 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.5348, allocations: 10.94 kB / 0.6086 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/0.5379, allocations: 1.403 MB / 0.6099 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5379, allocations: 5.844 kB / 0.6099 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5379, allocations: 0 / 0.6099 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5379, allocations: 0 / 0.6099 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.5404, allocations: 1.804 MB / 0.6117 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5404, allocations: 0 / 0.6117 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/0.5412, allocations: 107.8 kB / 0.6118 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.5412, allocations: 2.75 kB / 0.6118 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.5412, allocations: 29.56 kB / 0.6118 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.5412, allocations: 3.688 kB / 0.6118 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5412, allocations: 4.031 kB / 0.6118 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.5433, allocations: 1.476 MB / 0.6133 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.5433, allocations: 91.73 kB / 0.6134 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.5434, allocations: 7.031 kB / 0.6134 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/0.544, allocations: 9.656 kB / 0.6134 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5441, allocations: 46.34 kB / 0.6134 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.5442, allocations: 30.5 kB / 0.6135 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.921e-05/0.5442, allocations: 79.28 kB / 0.6135 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5442, allocations: 2.938 kB / 0.6135 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005282/0.5447, allocations: 178.6 kB / 0.6137 GB, free: 38.84 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 (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.002427/0.5472, allocations: 2.128 MB / 0.6158 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009968/0.5482, allocations: 0.7202 MB / 0.6165 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5482, allocations: 3 kB / 0.6165 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.5487, allocations: 453.7 kB / 0.6169 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.549, allocations: 17.72 kB / 0.6169 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006493/0.5555, allocations: 3.768 MB / 0.6206 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.5557, allocations: 0.7162 MB / 0.6213 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001308/0.557, allocations: 296.8 kB / 0.6216 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005274/0.5575, allocations: 120 kB / 0.6217 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/0.5575, allocations: 0 / 0.6217 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.5799, allocations: 11.96 MB / 0.6334 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.5801, allocations: 235 kB / 0.6336 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.411, allocations: 0 / 0.6336 GB, free: 32.99 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/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)