Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001196/0.001196, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.856/1.856, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005833/0.0005833, allocations: 22.03 kB / 0.6736 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007757/0.2753, allocations: 341.8 kB / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2768, allocations: 1.264 MB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.2769, allocations: 0 / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.119e-05/0.2769, allocations: 4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.497e-05/0.2769, allocations: 0 / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2773, allocations: 54.44 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.2773, allocations: 8 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.2774, allocations: 11.97 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.041e-05/0.2774, allocations: 7.938 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.2775, allocations: 11.98 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2775, allocations: 0 / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.2777, allocations: 91.83 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.2777, allocations: 15.94 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.2777, allocations: 25.7 kB / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.794e-05/0.2778, allocations: 43.94 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2779, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2779, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2779, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 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.0004275/0.2783, allocations: 347.5 kB / 0.7893 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2783, allocations: 8.031 kB / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.2784, allocations: 8 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2785, allocations: 163 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2785, allocations: 4 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.2786, allocations: 4 kB / 0.7895 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.2787, allocations: 57.59 kB / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2787, allocations: 3.938 kB / 0.7895 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.2787, allocations: 8 kB / 0.7895 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2787, allocations: 0 / 0.7895 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.2788, allocations: 19.98 kB / 0.7895 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.279, allocations: 177.5 kB / 0.7897 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.2791, allocations: 58.55 kB / 0.7898 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/0.2796, allocations: 0.5583 MB / 0.7903 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2797, allocations: 30.56 kB / 0.7903 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.2797, allocations: 0 / 0.7903 GB, free: 8.336 MB / 0.6075 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.01873/0.2984, allocations: 4.211 MB / 0.7945 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.2985, allocations: 59.36 kB / 0.7945 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.2986, allocations: 93.86 kB / 0.7946 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.2987, allocations: 29.7 kB / 0.7946 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.2987, allocations: 80.27 kB / 0.7947 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.953e-05/0.2988, allocations: 55.2 kB / 0.7948 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.2989, allocations: 8 kB / 0.7948 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.299, allocations: 318.8 kB / 0.7951 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/0.2995, allocations: 303.9 kB / 0.7954 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.3, allocations: 311.8 kB / 0.7957 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.3007, allocations: 379.9 kB / 0.796 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.3007, allocations: 4 kB / 0.796 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001435/0.3021, allocations: 0.7933 MB / 0.7968 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3022, allocations: 4 kB / 0.7968 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3022, allocations: 4 kB / 0.7968 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3022, allocations: 0 / 0.7968 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.303, allocations: 91.94 kB / 0.7969 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.3031, allocations: 4 kB / 0.7969 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.3036, allocations: 11.95 kB / 0.7969 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.3037, allocations: 35.97 kB / 0.7969 GB, free: 1.379 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.3039, allocations: 121.8 kB / 0.7971 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.304, allocations: 7.906 kB / 0.7971 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/0.307, allocations: 1.392 MB / 0.7984 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.307, allocations: 4 kB / 0.7984 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.307, allocations: 0 / 0.7984 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3071, allocations: 3.984 kB / 0.7984 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.3099, allocations: 1.802 MB / 0.8002 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3099, allocations: 0 / 0.8002 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.3107, allocations: 115.8 kB / 0.8003 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3107, allocations: 3.953 kB / 0.8003 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/0.3108, allocations: 24 kB / 0.8003 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3108, allocations: 7.938 kB / 0.8003 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3108, allocations: 0 / 0.8003 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.3129, allocations: 1.463 MB / 0.8018 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.313, allocations: 96.91 kB / 0.8019 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/0.3131, allocations: 15.98 kB / 0.8019 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.3136, allocations: 8 kB / 0.8019 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3137, allocations: 43.97 kB / 0.8019 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.3138, allocations: 28 kB / 0.802 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.3138, allocations: 79.28 kB / 0.802 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.246e-06/0.3138, allocations: 0 / 0.802 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005827/0.3144, allocations: 184.1 kB / 0.8022 GB, free: 11.87 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005123/0.315, allocations: 217.8 kB / 0.8024 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.3161, allocations: 0.7229 MB / 0.8031 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3161, allocations: 0 / 0.8031 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.3167, allocations: 451.7 kB / 0.8036 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.3169, allocations: 10.92 kB / 0.8036 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.3201, allocations: 0.8467 MB / 0.8044 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.3204, allocations: 0.7301 MB / 0.8051 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001367/0.3218, allocations: 285.5 kB / 0.8054 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/0.3223, allocations: 95.41 kB / 0.8055 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of SimCode: time 2.925e-06/0.3223, allocations: 4 kB / 0.8055 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of Templates: time 0.01509/0.3374, allocations: 10.36 MB / 0.8156 GB, free: 14.16 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: