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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 113.5 kB / 17.12 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 196.6 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8913/0.8913, allocations: 129.2 MB / 432.5 MB, free: 13.07 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.88 kB / 0.5987 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4117, allocations: 83.45 MB / 0.6802 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001589/0.4133, allocations: 0.6122 MB / 0.6808 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.4147, allocations: 1.293 MB / 0.6821 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.4147, allocations: 1.562 kB / 0.6821 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.4148, allocations: 3.938 kB / 0.6821 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.863e-05/0.4148, allocations: 0 / 0.6821 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.4151, allocations: 77.88 kB / 0.6822 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.4152, allocations: 18.8 kB / 0.6822 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.4152, allocations: 10.08 kB / 0.6822 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.4152, allocations: 4.438 kB / 0.6822 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.4153, allocations: 20.34 kB / 0.6822 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.4153, allocations: 2.312 kB / 0.6822 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.4155, allocations: 100.7 kB / 0.6823 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.4155, allocations: 12.97 kB / 0.6823 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.4156, allocations: 12.16 kB / 0.6823 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.4157, allocations: 65.69 kB / 0.6824 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4157, allocations: 3.938 kB / 0.6824 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4157, allocations: 1.469 kB / 0.6824 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.4157, allocations: 7.938 kB / 0.6824 GB, free: 4.301 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.0003993/0.4161, allocations: 350.8 kB / 0.6828 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4162, allocations: 10.44 kB / 0.6828 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.4162, allocations: 35.92 kB / 0.6828 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.4162, allocations: 6.547 kB / 0.6828 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.401e-05/0.4163, allocations: 162 kB / 0.683 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4163, allocations: 5.906 kB / 0.683 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.4163, allocations: 2.75 kB / 0.683 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.4164, allocations: 66 kB / 0.683 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4165, allocations: 0 / 0.683 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.4165, allocations: 1.25 kB / 0.683 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4165, allocations: 1.188 kB / 0.683 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.4165, allocations: 25.33 kB / 0.6831 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.4167, allocations: 169.1 kB / 0.6832 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.4168, allocations: 58.64 kB / 0.6833 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.4168, allocations: 23.48 kB / 0.6833 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.4172, allocations: 0.5615 MB / 0.6838 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.4172, allocations: 35.81 kB / 0.6839 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.4172, allocations: 0 / 0.6839 GB, free: 2.629 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.02023/0.4374, allocations: 4.362 MB / 0.6881 GB, free: 172 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.4375, allocations: 52.84 kB / 0.6882 GB, free: 108 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.4375, allocations: 95.23 kB / 0.6883 GB, free: 4 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/0.4376, allocations: 30.73 kB / 0.6883 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.4377, allocations: 81.55 kB / 0.6884 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.4378, allocations: 70.27 kB / 0.6885 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.4381, allocations: 95.38 kB / 0.6885 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4383, allocations: 317 kB / 0.6888 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/0.4388, allocations: 313.9 kB / 0.6891 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.4394, allocations: 312.2 kB / 0.6894 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.441, allocations: 0.7725 MB / 0.6902 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.441, allocations: 0 / 0.6902 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001634/0.4427, allocations: 0.8051 MB / 0.691 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4427, allocations: 9.562 kB / 0.691 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4427, allocations: 0 / 0.691 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4427, allocations: 1.719 kB / 0.691 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/0.4436, allocations: 92.69 kB / 0.6911 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4436, allocations: 0 / 0.6911 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.444, allocations: 5.75 kB / 0.6911 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.29e-05/0.4441, allocations: 36.2 kB / 0.6911 GB, free: 14.32 MB / 0.5137 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.0002022/0.4443, allocations: 121.1 kB / 0.6912 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.4444, allocations: 3.438 kB / 0.6912 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.4478, allocations: 1.401 MB / 0.6926 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4478, allocations: 3.312 kB / 0.6926 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4478, allocations: 7.984 kB / 0.6926 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4478, allocations: 1.062 kB / 0.6926 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.4512, allocations: 1.817 MB / 0.6944 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4512, allocations: 0 / 0.6944 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/0.452, allocations: 109.1 kB / 0.6945 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.452, allocations: 6.469 kB / 0.6945 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.4521, allocations: 33.03 kB / 0.6945 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.4521, allocations: 2.188 kB / 0.6945 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4521, allocations: 1.125 kB / 0.6945 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.4548, allocations: 1.466 MB / 0.696 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.4548, allocations: 94.45 kB / 0.6961 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/0.4549, allocations: 10.69 kB / 0.6961 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.4554, allocations: 13.5 kB / 0.6961 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.4556, allocations: 38.22 kB / 0.6961 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.4556, allocations: 35.48 kB / 0.6962 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.4557, allocations: 75.28 kB / 0.6962 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4557, allocations: 4.094 kB / 0.6962 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006164/0.4563, allocations: 183 kB / 0.6964 GB, free: 10.99 MB / 0.5137 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.003931/0.4602, allocations: 2.135 MB / 0.6985 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.4618, allocations: 0.7198 MB / 0.6992 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.4618, allocations: 5.281 kB / 0.6992 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00071/0.4625, allocations: 405.2 kB / 0.6996 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4628, allocations: 13.53 kB / 0.6996 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008303/0.4711, allocations: 3.714 MB / 0.7032 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.4715, allocations: 0.7142 MB / 0.7039 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001059/0.4726, allocations: 297.5 kB / 0.7042 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005734/0.4732, allocations: 107.4 kB / 0.7043 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.4732, allocations: 4 kB / 0.7043 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04264/0.5158, allocations: 12.75 MB / 0.7168 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.742, allocations: 7.438 kB / 0.7168 GB, free: 8.02 MB / 0.5294 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 os._exit(0), Time elapsed: 12.149663590826094] Failed to read output from testmodel.py, exit status != 0: 8.812714278697968 8.829598186 8.409969095 Calling exit ...