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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008478/0.0008478, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.88/0.88, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.5464/0.5464, allocations: 110.2 MB / 369.4 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.557e-06/3.557e-06, allocations: 0 / 0.5473 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/3.043e-05, allocations: 2.875 kB / 0.5473 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001807/0.001838, allocations: 0.6243 MB / 0.5479 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.003489, allocations: 1.307 MB / 0.5492 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.003516, allocations: 0 / 0.5492 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.003535, allocations: 0 / 0.5492 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.331e-05/0.003558, allocations: 3.938 kB / 0.5492 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.003966, allocations: 79.61 kB / 0.5493 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.004029, allocations: 23.97 kB / 0.5493 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.004076, allocations: 7.984 kB / 0.5493 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.004112, allocations: 8 kB / 0.5493 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.004181, allocations: 15.91 kB / 0.5493 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.004196, allocations: 4 kB / 0.5494 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.004424, allocations: 115.8 kB / 0.5495 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.004437, allocations: 0 / 0.5495 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.004458, allocations: 15.97 kB / 0.5495 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.004605, allocations: 87.75 kB / 0.5496 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.004609, allocations: 4 kB / 0.5496 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.913e-06/0.004611, allocations: 0 / 0.5496 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.004616, allocations: 0 / 0.5496 GB, free: 7.453 MB / 0.5105 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.0004273/0.005043, allocations: 278.1 kB / 0.5498 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.005088, allocations: 8.031 kB / 0.5498 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.005122, allocations: 42.75 kB / 0.5499 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.005157, allocations: 0.9375 kB / 0.5499 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.005239, allocations: 109.7 kB / 0.55 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.005251, allocations: 4.375 kB / 0.55 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.005273, allocations: 8.328 kB / 0.55 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.005398, allocations: 79.94 kB / 0.5501 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.005408, allocations: 192 / 0.5501 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.005421, allocations: 4.125 kB / 0.5501 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.005428, allocations: 4 kB / 0.5501 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.005483, allocations: 19.98 kB / 0.5501 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.005615, allocations: 136.8 kB / 0.5502 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.723e-05/0.005713, allocations: 58.5 kB / 0.5503 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.005749, allocations: 28.78 kB / 0.5503 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.005931, allocations: 43.91 kB / 0.5504 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.005953, allocations: 34.56 kB / 0.5504 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/0.005954, allocations: 0 / 0.5504 GB, free: 6.473 MB / 0.5105 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.01053/0.01648, allocations: 4.182 MB / 0.5545 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.01652, allocations: 59.31 kB / 0.5545 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.01657, allocations: 89.86 kB / 0.5546 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.01662, allocations: 33.7 kB / 0.5546 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.01664, allocations: 80.14 kB / 0.5547 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/0.01673, allocations: 63.47 kB / 0.5548 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.01688, allocations: 85.8 kB / 0.5549 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.01696, allocations: 322.8 kB / 0.5552 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.01729, allocations: 307.9 kB / 0.5555 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.01762, allocations: 311.9 kB / 0.5558 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.01858, allocations: 0.7803 MB / 0.5565 GB, free: 52 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.01858, allocations: 0 / 0.5565 GB, free: 52 kB / 0.5105 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009866/0.01957, allocations: 0.7943 MB / 0.5573 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01958, allocations: 8 kB / 0.5573 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.01959, allocations: 3.938 kB / 0.5573 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.0196, allocations: 0 / 0.5573 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.01997, allocations: 95.88 kB / 0.5574 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01998, allocations: 4 kB / 0.5574 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.02016, allocations: 12 kB / 0.5574 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.02021, allocations: 31.98 kB / 0.5575 GB, free: 15.09 MB / 0.5261 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.0001241/0.02033, allocations: 125.8 kB / 0.5576 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.02038, allocations: 11.94 kB / 0.5576 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.02212, allocations: 1.396 MB / 0.5589 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.02213, allocations: 4 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.02213, allocations: 0 / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.02214, allocations: 0 / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.02395, allocations: 1.702 MB / 0.5606 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.02395, allocations: 0 / 0.5606 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.02431, allocations: 103.9 kB / 0.5607 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.02432, allocations: 4 kB / 0.5607 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.02436, allocations: 31.98 kB / 0.5607 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.02437, allocations: 8.031 kB / 0.5608 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.02437, allocations: 3.938 kB / 0.5608 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.026, allocations: 1.458 MB / 0.5622 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.02602, allocations: 15.97 kB / 0.5622 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.02607, allocations: 4 kB / 0.5622 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.02628, allocations: 12 kB / 0.5622 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.02638, allocations: 47.89 kB / 0.5623 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.02642, allocations: 28 kB / 0.5623 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.02646, allocations: 83.27 kB / 0.5624 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.02646, allocations: 0 / 0.5624 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004706/0.02693, allocations: 187.8 kB / 0.5625 GB, free: 9.789 MB / 0.5261 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.002138/0.02907, allocations: 2.15 MB / 0.5646 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008394/0.02991, allocations: 0.7106 MB / 0.5653 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02991, allocations: 0 / 0.5653 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.0303, allocations: 404 kB / 0.5657 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.03052, allocations: 22.28 kB / 0.5657 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.03484, allocations: 3.724 MB / 0.5694 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.93e-05/0.0349, allocations: 103.8 kB / 0.5695 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005863/0.03548, allocations: 297.5 kB / 0.5698 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.03586, allocations: 120.5 kB / 0.5699 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.03586, allocations: 0 / 0.5699 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.06403, allocations: 14.25 MB / 0.5838 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/6.916, allocations: 1.688 kB / 0.5838 GB, free: 4.141 MB / 0.5417 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.501659668050706] Failed to read output from testmodel.py, exit status != 0: 7.000182977877557 7.008107094 7.001524328 Calling exit ...