Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005214/0.005214, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001199/0.001199, allocations: 190.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.7 MB / 0.5094 GB, free: 3.031 MB / 414.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.001342/0.001342, allocations: 78.09 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2074, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002024/0.2095, allocations: 0.5825 MB / 0.8286 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2113, allocations: 1.288 MB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.2113, allocations: 0 / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.2114, allocations: 0 / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.2114, allocations: 4 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.2118, allocations: 63.75 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.2119, allocations: 3.984 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.2119, allocations: 0 / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.212, allocations: 4 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.212, allocations: 0 / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.212, allocations: 0 / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.2123, allocations: 95.89 kB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.2123, allocations: 3.938 kB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.2123, allocations: 8 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2124, allocations: 43.94 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2124, allocations: 0 / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2125, allocations: 3.938 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2125, allocations: 0 / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003524/0.2128, allocations: 331.6 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2129, allocations: 8.031 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.2129, allocations: 0.9375 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.855e-05/0.213, allocations: 164.3 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.213, allocations: 4.375 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.213, allocations: 4.375 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.356e-05/0.2131, allocations: 30.02 kB / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2131, allocations: 0 / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2132, allocations: 0 / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2132, allocations: 3.984 kB / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.2132, allocations: 4 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.2133, allocations: 149.6 kB / 0.8308 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.2134, allocations: 26.55 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.2134, allocations: 4.859 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005246/0.214, allocations: 0.5623 MB / 0.8314 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.214, allocations: 34.5 kB / 0.8314 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.214, allocations: 0 / 0.8314 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.2141, allocations: 33.7 kB / 0.8314 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.2142, allocations: 59.47 kB / 0.8315 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.951e-05/0.2143, allocations: 89.86 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2143, allocations: 25.7 kB / 0.8316 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.2143, allocations: 84.08 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.2144, allocations: 3.938 kB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.2144, allocations: 21.7 kB / 0.8317 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2145, allocations: 310.8 kB / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.2145, allocations: 0 / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.2145, allocations: 4 kB / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.2146, allocations: 8.859 kB / 0.832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2146, allocations: 4 kB / 0.832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.847e-05/0.2147, allocations: 33.7 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2147, allocations: 7.938 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2147, allocations: 0 / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2147, allocations: 0 / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.249e-05/0.2148, allocations: 11.92 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2148, allocations: 96 / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.2148, allocations: 11.98 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2148, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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 6.893e-05/0.2149, allocations: 105.8 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.2149, allocations: 3.938 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.214e-05/0.215, allocations: 40.81 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.215, allocations: 3.938 kB / 0.8322 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.215, allocations: 4.031 kB / 0.8322 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.215, allocations: 0 / 0.8322 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.725e-05/0.2151, allocations: 145.7 kB / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2151, allocations: 4 kB / 0.8324 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.2152, allocations: 0 / 0.8324 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2152, allocations: 3.938 kB / 0.8324 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.2152, allocations: 0 / 0.8324 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2152, allocations: 0 / 0.8324 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2152, allocations: 7.922 kB / 0.8324 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.627e-05/0.2153, allocations: 57.14 kB / 0.8324 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.2153, allocations: 81.11 kB / 0.8325 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.2153, allocations: 3.938 kB / 0.8325 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.2153, allocations: 0 / 0.8325 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.2154, allocations: 11.92 kB / 0.8325 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.2154, allocations: 0 / 0.8325 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.747e-05/0.2154, allocations: 75.28 kB / 0.8326 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2154, allocations: 0 / 0.8326 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00018/0.2156, allocations: 4 kB / 0.8326 GB, free: 11.04 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001553/0.2158, allocations: 107.3 kB / 0.8327 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.2158, allocations: 7.938 kB / 0.8327 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2159, allocations: 0 / 0.8327 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-06/0.2159, allocations: 4 kB / 0.8327 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.216, allocations: 3.984 kB / 0.8327 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001907/0.2162, allocations: 84.98 kB / 0.8328 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2164, allocations: 0.6807 MB / 0.8335 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.754e-05/0.2165, allocations: 0 / 0.8335 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.2165, allocations: 7.438 kB / 0.8335 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of SimCode: time 1.91e-07/0.2165, allocations: 0 / 0.8335 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of Templates: time 0.002148/0.2186, allocations: 303.6 kB / 0.8338 GB, free: 9.785 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)