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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 99.84 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 193.2 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.342/2.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.105/1.105, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 65.8 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2727, allocations: 76.17 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.003229/0.2759, allocations: 0.6077 MB / 0.6322 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.2786, allocations: 1.279 MB / 0.6335 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.2787, allocations: 0 / 0.6335 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.2788, allocations: 0 / 0.6335 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.2788, allocations: 7.938 kB / 0.6335 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.2795, allocations: 79.72 kB / 0.6336 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.046e-05/0.2796, allocations: 19.98 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.2796, allocations: 3.984 kB / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.865e-05/0.2797, allocations: 15.94 kB / 0.6336 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.84e-05/0.2798, allocations: 19.91 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2798, allocations: 0 / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.2802, allocations: 95.89 kB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.2802, allocations: 11.98 kB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.2803, allocations: 15.94 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.2805, allocations: 67.84 kB / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2805, allocations: 4 kB / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2805, allocations: 0 / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2805, allocations: 0 / 0.6338 GB, free: 2.641 MB / 478.1 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.0006294/0.2812, allocations: 350.3 kB / 0.6341 GB, free: 2.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.2812, allocations: 8.031 kB / 0.6341 GB, free: 2.246 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.2813, allocations: 34.75 kB / 0.6342 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.2813, allocations: 4.938 kB / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2815, allocations: 172.3 kB / 0.6343 GB, free: 1.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2815, allocations: 4.375 kB / 0.6343 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.2816, allocations: 4.375 kB / 0.6344 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.2817, allocations: 57.78 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2818, allocations: 4 kB / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2818, allocations: 4 kB / 0.6344 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2818, allocations: 0 / 0.6344 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.2819, allocations: 19.98 kB / 0.6344 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.2821, allocations: 170.1 kB / 0.6346 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.2823, allocations: 70.42 kB / 0.6347 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.2824, allocations: 20.86 kB / 0.6347 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000702/0.2831, allocations: 0.5583 MB / 0.6352 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.2832, allocations: 46.44 kB / 0.6353 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.2832, allocations: 0 / 0.6353 GB, free: 0.8359 MB / 478.1 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.02741/0.3106, allocations: 4.353 MB / 0.6395 GB, free: 12.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.3107, allocations: 55.41 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.3108, allocations: 97.86 kB / 0.6397 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.941e-05/0.3109, allocations: 29.7 kB / 0.6397 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.311, allocations: 80.14 kB / 0.6398 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.3111, allocations: 59.09 kB / 0.6398 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.3115, allocations: 97.66 kB / 0.6399 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.3118, allocations: 318.7 kB / 0.6402 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/0.3126, allocations: 315.9 kB / 0.6405 GB, free: 11.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008158/0.3134, allocations: 307.9 kB / 0.6408 GB, free: 10.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/0.3158, allocations: 0.7678 MB / 0.6416 GB, free: 10.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3158, allocations: 0 / 0.6416 GB, free: 10.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002435/0.3183, allocations: 0.8037 MB / 0.6424 GB, free: 9.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3183, allocations: 7.938 kB / 0.6424 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.3183, allocations: 8 kB / 0.6424 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3184, allocations: 0 / 0.6424 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.3195, allocations: 99.88 kB / 0.6425 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3196, allocations: 0 / 0.6425 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.3203, allocations: 4 kB / 0.6425 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.3205, allocations: 36.3 kB / 0.6425 GB, free: 9.219 MB / 494.1 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.000273/0.3208, allocations: 122.4 kB / 0.6426 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3209, allocations: 4 kB / 0.6426 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.3255, allocations: 1.403 MB / 0.644 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3256, allocations: 7.938 kB / 0.644 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3256, allocations: 0 / 0.644 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.3256, allocations: 7.984 kB / 0.644 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.3301, allocations: 1.814 MB / 0.6458 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.3301, allocations: 4 kB / 0.6458 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.3313, allocations: 111.9 kB / 0.6459 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.3313, allocations: 0 / 0.6459 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.3315, allocations: 31.94 kB / 0.6459 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3315, allocations: 4.031 kB / 0.6459 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3315, allocations: 0 / 0.6459 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/0.3352, allocations: 1.47 MB / 0.6474 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.3353, allocations: 89.05 kB / 0.6474 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3355, allocations: 7.938 kB / 0.6475 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.3362, allocations: 12 kB / 0.6475 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.3365, allocations: 40.03 kB / 0.6475 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.3366, allocations: 39.98 kB / 0.6475 GB, free: 3.938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.422e-05/0.3366, allocations: 75.28 kB / 0.6476 GB, free: 3.863 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3367, allocations: 0 / 0.6476 GB, free: 3.863 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009119/0.3376, allocations: 176 kB / 0.6478 GB, free: 3.691 MB / 494.1 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.004581/0.3422, allocations: 2.139 MB / 0.6499 GB, free: 1.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.3441, allocations: 0.7223 MB / 0.6506 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.3442, allocations: 0 / 0.6506 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009988/0.3452, allocations: 456 kB / 0.651 GB, free: 364 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.3457, allocations: 15.94 kB / 0.651 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.3573, allocations: 3.721 MB / 0.6547 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.3577, allocations: 0.7182 MB / 0.6554 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001664/0.3594, allocations: 301.5 kB / 0.6557 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008676/0.3603, allocations: 107.4 kB / 0.6558 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of SimCode: time 1.633e-06/0.3603, allocations: 0 / 0.6558 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.171/1.531, allocations: 13.02 MB / 0.6685 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.56, allocations: 0 / 0.6685 GB, free: 14.55 MB / 0.5137 GB (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 --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)