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.001372/0.001372, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.051/1.051, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.88 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1802, allocations: 82.05 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002409/0.1826, allocations: 0.6089 MB / 0.595 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.1848, allocations: 1.287 MB / 0.5963 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.1848, allocations: 0 / 0.5963 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.1849, allocations: 0 / 0.5963 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.118e-05/0.1849, allocations: 0 / 0.5963 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.1854, allocations: 79.66 kB / 0.5963 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.1854, allocations: 23.92 kB / 0.5964 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.1855, allocations: 8 kB / 0.5964 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.18e-05/0.1855, allocations: 7.984 kB / 0.5964 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.1856, allocations: 19.91 kB / 0.5964 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1856, allocations: 4 kB / 0.5964 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.1858, allocations: 91.91 kB / 0.5965 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1859, allocations: 11.97 kB / 0.5965 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.1859, allocations: 11.94 kB / 0.5965 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1861, allocations: 67.86 kB / 0.5966 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1861, allocations: 0 / 0.5966 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1861, allocations: 4 kB / 0.5966 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.1861, allocations: 0 / 0.5966 GB, free: 7.242 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.0004531/0.1866, allocations: 351.7 kB / 0.5969 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1866, allocations: 12.03 kB / 0.5969 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.1867, allocations: 38.73 kB / 0.597 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1867, allocations: 4.938 kB / 0.597 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1868, allocations: 164.3 kB / 0.5971 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1868, allocations: 384 / 0.5971 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1869, allocations: 8.375 kB / 0.5971 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.187, allocations: 65.78 kB / 0.5972 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.187, allocations: 3.938 kB / 0.5972 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1871, allocations: 4 kB / 0.5972 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1871, allocations: 4 kB / 0.5972 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.1872, allocations: 19.98 kB / 0.5972 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.1874, allocations: 165.6 kB / 0.5974 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.1875, allocations: 58.5 kB / 0.5974 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.1876, allocations: 28.84 kB / 0.5975 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/0.1882, allocations: 0.5622 MB / 0.598 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1882, allocations: 34.5 kB / 0.598 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.1882, allocations: 4 kB / 0.598 GB, free: 5.434 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.01995/0.2082, allocations: 4.375 MB / 0.6023 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2082, allocations: 55.39 kB / 0.6024 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.2083, allocations: 93.86 kB / 0.6025 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/0.2084, allocations: 29.7 kB / 0.6025 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.2084, allocations: 84.27 kB / 0.6026 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.2086, allocations: 59.09 kB / 0.6026 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.2088, allocations: 93.67 kB / 0.6027 GB, free: 480 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.209, allocations: 326.7 kB / 0.603 GB, free: 144 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3584/0.5674, allocations: 307.9 kB / 0.6033 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.5681, allocations: 311.5 kB / 0.6036 GB, free: 44.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.5697, allocations: 0.7706 MB / 0.6044 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5697, allocations: 0 / 0.6044 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001429/0.5711, allocations: 0.8031 MB / 0.6052 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5712, allocations: 5.844 kB / 0.6052 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5712, allocations: 0 / 0.6052 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.5712, allocations: 2.781 kB / 0.6052 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008347/0.572, allocations: 88.31 kB / 0.6052 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5721, allocations: 6.734 kB / 0.6053 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.5726, allocations: 10.12 kB / 0.6053 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.5727, allocations: 29.44 kB / 0.6053 GB, free: 44.2 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.0001965/0.5729, allocations: 125.7 kB / 0.6054 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.573, allocations: 6.812 kB / 0.6054 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.5761, allocations: 1.401 MB / 0.6068 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.5761, allocations: 2.906 kB / 0.6068 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5761, allocations: 0 / 0.6068 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.5761, allocations: 3.141 kB / 0.6068 GB, free: 43.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.5789, allocations: 1.807 MB / 0.6086 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5789, allocations: 2.938 kB / 0.6086 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.5797, allocations: 110.9 kB / 0.6087 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.5797, allocations: 2.688 kB / 0.6087 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.038e-05/0.5798, allocations: 30.56 kB / 0.6087 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.5798, allocations: 0.6875 kB / 0.6087 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5798, allocations: 2.406 kB / 0.6087 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.5821, allocations: 1.471 MB / 0.6101 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.5821, allocations: 92.95 kB / 0.6102 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/0.5822, allocations: 14.91 kB / 0.6102 GB, free: 42.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.5827, allocations: 12 kB / 0.6102 GB, free: 42.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.5829, allocations: 43.78 kB / 0.6103 GB, free: 42.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.583, allocations: 29.31 kB / 0.6103 GB, free: 42.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.583, allocations: 78.19 kB / 0.6104 GB, free: 42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.583, allocations: 1.312 kB / 0.6104 GB, free: 42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000591/0.5836, allocations: 181.8 kB / 0.6106 GB, free: 41.99 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.002804/0.5864, allocations: 2.133 MB / 0.6127 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.5878, allocations: 0.7343 MB / 0.6134 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5878, allocations: 2.625 kB / 0.6134 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006523/0.5884, allocations: 462.4 kB / 0.6138 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.5888, allocations: 16.94 kB / 0.6138 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/0.5958, allocations: 3.705 MB / 0.6174 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.596, allocations: 0.725 MB / 0.6182 GB, free: 37.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001307/0.5973, allocations: 296.6 kB / 0.6184 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.5978, allocations: 115.4 kB / 0.6185 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.5978, allocations: 0.6562 kB / 0.6185 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.6335, allocations: 12.69 MB / 0.6309 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/8.277, allocations: 11.77 kB / 0.6309 GB, free: 36.24 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)