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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.7 MB / 302.3 MB, free: 2.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001869/0.001869, allocations: 184.5 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000981/0.0009815, allocations: 95.89 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.684e-05/3.685e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2989, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9679/1.267, allocations: 139.5 MB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.267, allocations: 78.19 kB / 1.116 GB, free: 44.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006508/1.274, allocations: 2.33 MB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/1.274, allocations: 0 / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.274, allocations: 0 / 1.118 GB, free: 42.83 MB / 0.7448 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.0002697/1.274, allocations: 350.4 kB / 1.119 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.274, allocations: 12.03 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/1.274, allocations: 7.75 kB / 1.119 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/1.274, allocations: 162.5 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/1.274, allocations: 4 kB / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/1.274, allocations: 12.17 kB / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/1.274, allocations: 50.52 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.274, allocations: 2.344 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.274, allocations: 3.812 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/1.274, allocations: 0 / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/1.275, allocations: 23.03 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/1.275, allocations: 176.8 kB / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/1.275, allocations: 63.3 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/1.275, allocations: 20.48 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/1.275, allocations: 0.5605 MB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/1.275, allocations: 35.06 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/1.275, allocations: 0 / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.01374/1.289, allocations: 3.624 MB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.289, allocations: 59.34 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/1.289, allocations: 85 kB / 1.123 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/1.289, allocations: 32.64 kB / 1.124 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.646e-05/1.289, allocations: 80.14 kB / 1.124 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/1.289, allocations: 59.69 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/1.289, allocations: 6.125 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/1.289, allocations: 324.8 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/1.29, allocations: 299.8 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/1.29, allocations: 298.8 kB / 1.125 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/1.291, allocations: 365.2 kB / 1.125 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/1.291, allocations: 0 / 1.125 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001312/1.292, allocations: 0.7665 MB / 1.126 GB, free: 37.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.292, allocations: 8 kB / 1.126 GB, free: 37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.292, allocations: 0 / 1.126 GB, free: 37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.292, allocations: 0 / 1.126 GB, free: 37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/1.293, allocations: 94.97 kB / 1.126 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.293, allocations: 4 kB / 1.126 GB, free: 36.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/1.294, allocations: 11.88 kB / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/1.294, allocations: 34.52 kB / 1.126 GB, free: 36.89 MB / 0.7448 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 () * 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.0001506/1.294, allocations: 111.1 kB / 1.126 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/1.294, allocations: 4.938 kB / 1.126 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/1.297, allocations: 1.369 MB / 1.127 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.297, allocations: 8 kB / 1.127 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.297, allocations: 3.938 kB / 1.127 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.297, allocations: 3.516 kB / 1.127 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/1.299, allocations: 1.78 MB / 1.129 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.299, allocations: 4 kB / 1.129 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/1.3, allocations: 109.5 kB / 1.129 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.3, allocations: 4.031 kB / 1.129 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.721e-05/1.3, allocations: 34.45 kB / 1.129 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.3, allocations: 0 / 1.129 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.3, allocations: 1.188 kB / 1.129 GB, free: 34.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/1.302, allocations: 1.442 MB / 1.131 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/1.302, allocations: 90.72 kB / 1.131 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/1.303, allocations: 19.02 kB / 1.131 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004863/1.303, allocations: 7.312 kB / 1.131 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.303, allocations: 46.39 kB / 1.131 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/1.303, allocations: 26.69 kB / 1.131 GB, free: 33.74 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.301e-05/1.303, allocations: 79.28 kB / 1.131 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.3e-07/1.303, allocations: 0 / 1.131 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006527/1.304, allocations: 206.4 kB / 1.131 GB, free: 33.48 MB / 0.7448 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 () * 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.0005348/1.304, allocations: 258.4 kB / 1.131 GB, free: 33.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009847/1.305, allocations: 0.7086 MB / 1.132 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.305, allocations: 0 / 1.132 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/1.306, allocations: 442.2 kB / 1.132 GB, free: 32.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/1.306, allocations: 8.266 kB / 1.132 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/1.309, allocations: 0.7232 MB / 1.133 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/1.309, allocations: 0.7272 MB / 1.134 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001324/1.311, allocations: 289.2 kB / 1.134 GB, free: 31.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/1.311, allocations: 97.59 kB / 1.134 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/1.311, allocations: 0.6562 kB / 1.134 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.01385/1.325, allocations: 10.1 MB / 1.144 GB, free: 25.45 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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)