Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001316/0.001316, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001532/0.001532, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002391/0.002391, allocations: 281.3 kB / 313.5 MB, free: 2.781 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.208/1.208, allocations: 180.6 MB / 0.5377 GB, free: 12.99 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 108.8 kB / 0.7404 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.2006, allocations: 95.38 MB / 0.8335 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001848/0.2024, allocations: 0.6155 MB / 0.8341 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.2045, allocations: 1.375 MB / 0.8355 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.2045, allocations: 4 kB / 0.8355 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.2046, allocations: 0 / 0.8355 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.258e-05/0.2046, allocations: 7.875 kB / 0.8355 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.2051, allocations: 79.73 kB / 0.8356 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.2051, allocations: 19.98 kB / 0.8356 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.2052, allocations: 7.938 kB / 0.8356 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.2052, allocations: 15.97 kB / 0.8356 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.2053, allocations: 15.92 kB / 0.8356 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.2053, allocations: 0 / 0.8356 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.2056, allocations: 119.8 kB / 0.8357 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.2056, allocations: 7.984 kB / 0.8358 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.2056, allocations: 19.86 kB / 0.8358 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.2058, allocations: 72.06 kB / 0.8358 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.2058, allocations: 4 kB / 0.8358 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2058, allocations: 0 / 0.8358 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2058, allocations: 0 / 0.8358 GB, free: 6.203 MB / 0.5762 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.0005862/0.2064, allocations: 274.1 kB / 0.8361 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2065, allocations: 13.34 kB / 0.8361 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.046e-05/0.2065, allocations: 4.188 kB / 0.8361 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.2065, allocations: 34.75 kB / 0.8362 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.2065, allocations: 4.938 kB / 0.8362 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2066, allocations: 110.5 kB / 0.8363 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2067, allocations: 4.375 kB / 0.8363 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.2067, allocations: 4.375 kB / 0.8363 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.2068, allocations: 61.55 kB / 0.8363 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2068, allocations: 0 / 0.8363 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2068, allocations: 4 kB / 0.8363 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2068, allocations: 4 kB / 0.8363 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.2069, allocations: 19.98 kB / 0.8364 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.2071, allocations: 144.7 kB / 0.8365 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.2072, allocations: 54.56 kB / 0.8366 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.2073, allocations: 28.78 kB / 0.8366 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.2075, allocations: 51.89 kB / 0.8366 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2076, allocations: 30.56 kB / 0.8367 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.2076, allocations: 0 / 0.8367 GB, free: 5.242 MB / 0.5762 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.2275, allocations: 4.169 MB / 0.8407 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.2276, allocations: 51.41 kB / 0.8408 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.2277, allocations: 93.86 kB / 0.8409 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.82e-05/0.2277, allocations: 33.64 kB / 0.8409 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.2278, allocations: 80.14 kB / 0.841 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.2279, allocations: 59.48 kB / 0.841 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.2282, allocations: 93.66 kB / 0.8411 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2283, allocations: 322.9 kB / 0.8414 GB, free: 220 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.2289, allocations: 315.8 kB / 0.8417 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.2295, allocations: 311.9 kB / 0.842 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.2311, allocations: 0.7757 MB / 0.8428 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2311, allocations: 0 / 0.8428 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001685/0.2328, allocations: 0.7981 MB / 0.8436 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2328, allocations: 4 kB / 0.8436 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2328, allocations: 0 / 0.8436 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2329, allocations: 0 / 0.8436 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.2337, allocations: 95.94 kB / 0.8437 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2337, allocations: 4 kB / 0.8437 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.2342, allocations: 11.94 kB / 0.8437 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.2343, allocations: 35.92 kB / 0.8437 GB, free: 13.87 MB / 0.5919 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.0002243/0.2345, allocations: 118.5 kB / 0.8438 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.2346, allocations: 11.94 kB / 0.8438 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/0.2379, allocations: 1.407 MB / 0.8452 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.2379, allocations: 4 kB / 0.8452 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2379, allocations: 0 / 0.8452 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2379, allocations: 0 / 0.8452 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.2411, allocations: 1.782 MB / 0.847 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2411, allocations: 4.031 kB / 0.847 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007926/0.2419, allocations: 107.9 kB / 0.8471 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.2419, allocations: 7.938 kB / 0.8471 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.242, allocations: 27.98 kB / 0.8471 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.242, allocations: 4 kB / 0.8471 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.242, allocations: 0 / 0.8471 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.2446, allocations: 1.47 MB / 0.8485 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.2446, allocations: 23.88 kB / 0.8486 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/0.2447, allocations: 11.94 kB / 0.8486 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.2453, allocations: 12 kB / 0.8486 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.2454, allocations: 39.95 kB / 0.8486 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.2455, allocations: 39.92 kB / 0.8487 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.2455, allocations: 75.28 kB / 0.8487 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2455, allocations: 3.938 kB / 0.8487 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006489/0.2462, allocations: 183.7 kB / 0.8489 GB, free: 8.457 MB / 0.5919 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.003599/0.2498, allocations: 2.131 MB / 0.851 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.2512, allocations: 0.7164 MB / 0.8517 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2512, allocations: 0 / 0.8517 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.2519, allocations: 399.7 kB / 0.8521 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.2523, allocations: 26.7 kB / 0.8521 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008288/0.2606, allocations: 3.712 MB / 0.8557 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.261, allocations: 0.718 MB / 0.8564 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001051/0.262, allocations: 301.5 kB / 0.8567 GB, free: 344 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006056/0.2626, allocations: 119.4 kB / 0.8568 GB, free: 224 kB / 0.5919 GB Notification: Performance of SimCode: time 1.623e-06/0.2626, allocations: 0 / 0.8568 GB, free: 224 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0451/0.3077, allocations: 13.54 MB / 0.87 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.5, allocations: 8.062 kB / 0.87 GB, free: 2.895 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.748700942960568] Failed to read output from testmodel.py, exit status != 0: 11.666532480041496 11.697255981 11.485908917 Calling exit ...