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.0008634/0.0008634, allocations: 79.69 kB / 19.26 MB, free: 0.6172 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.000996/0.000996, allocations: 162 kB / 22.56 MB, free: 1.961 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.8797/0.8797, allocations: 177.1 MB / 202.9 MB, free: 5.703 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.53/0.53, allocations: 110.2 MB / 369.6 MB, free: 12.57 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 1.412e-06/1.412e-06, allocations: 0 / 0.5475 GB, free: 8.586 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.947e-05, allocations: 9.094 kB / 0.5475 GB, free: 8.578 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001136/0.001155, allocations: 0.6112 MB / 0.5481 GB, free: 7.965 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.002662, allocations: 1.303 MB / 0.5494 GB, free: 6.645 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.00269, allocations: 4 kB / 0.5494 GB, free: 6.641 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.002705, allocations: 3.938 kB / 0.5494 GB, free: 6.637 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.365e-05/0.002729, allocations: 0 / 0.5494 GB, free: 6.637 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.003094, allocations: 87.58 kB / 0.5495 GB, free: 6.551 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.003143, allocations: 15.98 kB / 0.5495 GB, free: 6.535 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.003185, allocations: 8 kB / 0.5495 GB, free: 6.527 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.003219, allocations: 19.98 kB / 0.5495 GB, free: 6.508 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.003283, allocations: 15.91 kB / 0.5496 GB, free: 6.492 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.003295, allocations: 3.938 kB / 0.5496 GB, free: 6.488 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.003505, allocations: 107.8 kB / 0.5497 GB, free: 6.383 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.003517, allocations: 7.984 kB / 0.5497 GB, free: 6.375 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.003536, allocations: 7.984 kB / 0.5497 GB, free: 6.367 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.00367, allocations: 91.75 kB / 0.5498 GB, free: 6.277 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003672, allocations: 0 / 0.5498 GB, free: 6.277 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.003673, allocations: 0 / 0.5498 GB, free: 6.277 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003677, allocations: 0 / 0.5498 GB, free: 6.277 MB / 474.7 MB 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.0003346/0.004011, allocations: 286.1 kB / 0.55 GB, free: 5.969 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.004051, allocations: 12.03 kB / 0.5501 GB, free: 5.957 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.693e-05/0.004078, allocations: 30.75 kB / 0.5501 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.004103, allocations: 4.938 kB / 0.5501 GB, free: 5.914 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/0.004178, allocations: 105.8 kB / 0.5502 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.004191, allocations: 8.375 kB / 0.5502 GB, free: 5.777 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.004212, allocations: 384 / 0.5502 GB, free: 5.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.004324, allocations: 79.89 kB / 0.5503 GB, free: 5.688 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.004334, allocations: 4.141 kB / 0.5503 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004344, allocations: 8.125 kB / 0.5503 GB, free: 5.676 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004349, allocations: 4 kB / 0.5503 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.917e-05/0.004398, allocations: 23.97 kB / 0.5503 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.004517, allocations: 132.8 kB / 0.5504 GB, free: 5.477 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.329e-05/0.00461, allocations: 58.55 kB / 0.5505 GB, free: 5.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.00464, allocations: 29.02 kB / 0.5505 GB, free: 5.379 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.00481, allocations: 39.95 kB / 0.5506 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.004833, allocations: 38.48 kB / 0.5506 GB, free: 5.293 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.004834, allocations: 4 kB / 0.5506 GB, free: 5.289 MB / 474.7 MB 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.01044/0.01527, allocations: 4.166 MB / 0.5547 GB, free: 1.031 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.0153, allocations: 55.39 kB / 0.5547 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.112e-05/0.01536, allocations: 93.86 kB / 0.5548 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.0154, allocations: 29.7 kB / 0.5548 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.01543, allocations: 84.27 kB / 0.5549 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.01551, allocations: 59.48 kB / 0.555 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.01565, allocations: 85.67 kB / 0.5551 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.01572, allocations: 322.8 kB / 0.5554 GB, free: 276 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.01606, allocations: 308 kB / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.0164, allocations: 313.9 kB / 0.556 GB, free: 15.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/0.01736, allocations: 0.7701 MB / 0.5567 GB, free: 14.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01736, allocations: 0 / 0.5567 GB, free: 14.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009655/0.01833, allocations: 0.8044 MB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.01834, allocations: 4 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01835, allocations: 3.938 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01836, allocations: 4 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.01873, allocations: 95.94 kB / 0.5576 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01874, allocations: 4.547 kB / 0.5576 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.01895, allocations: 4 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.01899, allocations: 35.97 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB 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.0001316/0.01913, allocations: 125.7 kB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.01918, allocations: 7.953 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.02092, allocations: 1.4 MB / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.02092, allocations: 4 kB / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.02093, allocations: 0 / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.02093, allocations: 3.984 kB / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.02286, allocations: 1.698 MB / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.02287, allocations: 3.984 kB / 0.5608 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.02322, allocations: 107.9 kB / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.02323, allocations: 4.031 kB / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.02327, allocations: 32 kB / 0.5609 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.02327, allocations: 3.938 kB / 0.5609 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.02327, allocations: 3.938 kB / 0.5609 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.0248, allocations: 1.463 MB / 0.5624 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.02481, allocations: 11.94 kB / 0.5624 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.02486, allocations: 8 kB / 0.5624 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.02507, allocations: 12 kB / 0.5624 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.02516, allocations: 43.89 kB / 0.5624 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.0252, allocations: 39.98 kB / 0.5625 GB, free: 8.883 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.001e-05/0.02522, allocations: 79.34 kB / 0.5626 GB, free: 8.805 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02522, allocations: 0 / 0.5626 GB, free: 8.805 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.02561, allocations: 183.6 kB / 0.5627 GB, free: 8.625 MB / 490.7 MB 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.00194/0.02755, allocations: 2.153 MB / 0.5648 GB, free: 6.438 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000785/0.02833, allocations: 0.7145 MB / 0.5655 GB, free: 5.723 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02834, allocations: 4 kB / 0.5655 GB, free: 5.719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.02872, allocations: 404.3 kB / 0.5659 GB, free: 5.324 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.02894, allocations: 16.16 kB / 0.5659 GB, free: 5.309 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.03361, allocations: 3.721 MB / 0.5696 GB, free: 1.504 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.249e-05/0.03368, allocations: 99.59 kB / 0.5697 GB, free: 1.387 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006245/0.03431, allocations: 297.5 kB / 0.57 GB, free: 1.094 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.03467, allocations: 116.5 kB / 0.5701 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03467, allocations: 0 / 0.5701 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.05959, allocations: 14.26 MB / 0.584 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.507, allocations: 8.141 kB / 0.584 GB, free: 2.961 MB / 0.4948 GB " [Timeout remaining time 652] (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.963611952960491] Failed to read output from testmodel.py, exit status != 0: 7.587820294313133 7.597342259 7.591961303 Calling exit ...