Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001306/0.001306, allocations: 115.7 kB / 17.84 MB, free: 5.312 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.001508/0.001508, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.519/1.519, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9998/0.9998, allocations: 150 MB / 460.2 MB, free: 5.266 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002003/0.002003, allocations: 68.77 kB / 0.6369 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1558, allocations: 89.13 MB / 0.7239 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001991/0.1578, allocations: 0.6047 MB / 0.7245 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1597, allocations: 1.367 MB / 0.7258 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.1598, allocations: 0 / 0.7258 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.1598, allocations: 0 / 0.7258 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.059e-05/0.1598, allocations: 3.938 kB / 0.7258 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1603, allocations: 95.53 kB / 0.7259 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.1603, allocations: 15.98 kB / 0.7259 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.1604, allocations: 4 kB / 0.7259 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.1604, allocations: 11.94 kB / 0.7259 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.1605, allocations: 19.91 kB / 0.726 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1605, allocations: 4 kB / 0.726 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000315/0.1608, allocations: 119.8 kB / 0.7261 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.1608, allocations: 7.984 kB / 0.7261 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.1608, allocations: 7.938 kB / 0.7261 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.161, allocations: 83.98 kB / 0.7262 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.161, allocations: 0 / 0.7262 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.161, allocations: 0 / 0.7262 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.161, allocations: 0 / 0.7262 GB, free: 1.598 MB / 0.5294 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.000542/0.1616, allocations: 359.3 kB / 0.7265 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1616, allocations: 12.03 kB / 0.7265 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.426e-05/0.1616, allocations: 192 / 0.7265 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.1617, allocations: 30.75 kB / 0.7266 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.1617, allocations: 4.938 kB / 0.7266 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1618, allocations: 168.4 kB / 0.7267 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1619, allocations: 4.375 kB / 0.7267 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1619, allocations: 384 / 0.7267 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.162, allocations: 69.53 kB / 0.7268 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.162, allocations: 0 / 0.7268 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1621, allocations: 4 kB / 0.7268 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1621, allocations: 0 / 0.7268 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.1621, allocations: 19.98 kB / 0.7268 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.1623, allocations: 169.6 kB / 0.727 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.1625, allocations: 58.55 kB / 0.727 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.1625, allocations: 36.95 kB / 0.7271 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/0.1631, allocations: 0.57 MB / 0.7276 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1632, allocations: 30.56 kB / 0.7277 GB, free: 15.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1632, allocations: 0 / 0.7277 GB, free: 15.78 MB / 0.545 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.02187/0.185, allocations: 4.383 MB / 0.7319 GB, free: 11.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.1851, allocations: 55.41 kB / 0.732 GB, free: 11.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.1852, allocations: 89.86 kB / 0.7321 GB, free: 11.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.1853, allocations: 29.7 kB / 0.7321 GB, free: 11.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.1853, allocations: 84.14 kB / 0.7322 GB, free: 10.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.1854, allocations: 63.59 kB / 0.7322 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/0.1857, allocations: 89.67 kB / 0.7323 GB, free: 10.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1859, allocations: 322.8 kB / 0.7326 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.1865, allocations: 307.9 kB / 0.7329 GB, free: 10.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.187, allocations: 307.9 kB / 0.7332 GB, free: 9.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.1887, allocations: 0.7759 MB / 0.734 GB, free: 9.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1887, allocations: 0 / 0.734 GB, free: 9.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001766/0.1905, allocations: 0.7981 MB / 0.7348 GB, free: 8.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.1905, allocations: 4 kB / 0.7348 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1905, allocations: 7.938 kB / 0.7348 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.1905, allocations: 4 kB / 0.7348 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.1914, allocations: 91.94 kB / 0.7349 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1914, allocations: 0 / 0.7349 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.192, allocations: 11.94 kB / 0.7349 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.1921, allocations: 35.92 kB / 0.7349 GB, free: 8.148 MB / 0.545 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.0002374/0.1924, allocations: 121.8 kB / 0.735 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.1924, allocations: 7.953 kB / 0.735 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.196, allocations: 1.403 MB / 0.7364 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.196, allocations: 4 kB / 0.7364 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.196, allocations: 4 kB / 0.7364 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.196, allocations: 0 / 0.7364 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/0.1994, allocations: 1.814 MB / 0.7382 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1994, allocations: 0 / 0.7382 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008213/0.2002, allocations: 111.9 kB / 0.7383 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.2002, allocations: 3.938 kB / 0.7383 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/0.2003, allocations: 31.94 kB / 0.7383 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2003, allocations: 0 / 0.7383 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2003, allocations: 0 / 0.7383 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.203, allocations: 1.467 MB / 0.7398 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.2031, allocations: 100.9 kB / 0.7399 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.2032, allocations: 11.94 kB / 0.7399 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/0.2037, allocations: 12 kB / 0.7399 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.2039, allocations: 43.95 kB / 0.7399 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/0.204, allocations: 28 kB / 0.74 GB, free: 2.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.204, allocations: 75.28 kB / 0.74 GB, free: 2.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.204, allocations: 160 / 0.74 GB, free: 2.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000648/0.2047, allocations: 191.7 kB / 0.7402 GB, free: 2.617 MB / 0.545 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.003437/0.2081, allocations: 2.126 MB / 0.7423 GB, free: 472 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.2095, allocations: 0.7202 MB / 0.743 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2095, allocations: 4.062 kB / 0.743 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.2102, allocations: 403.7 kB / 0.7434 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2105, allocations: 23.17 kB / 0.7434 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/0.219, allocations: 3.735 MB / 0.747 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.2194, allocations: 0.7181 MB / 0.7477 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001015/0.2204, allocations: 293.5 kB / 0.748 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.221, allocations: 119.4 kB / 0.7481 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.2211, allocations: 0 / 0.7481 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.2598, allocations: 12.92 MB / 0.7608 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/8.825, allocations: 12.05 kB / 0.7608 GB, free: 13.62 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.824087727000006] Failed to read output from testmodel.py, exit status != 0: 8.957878680957947 8.983657823 8.818024825 Calling exit ...