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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 173.6 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008931/0.0008932, allocations: 87.94 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 9.312 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008929/0.2707, allocations: 327.3 kB / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2724, allocations: 1.289 MB / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.286e-05/0.2724, allocations: 0 / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.2724, allocations: 0 / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.2724, allocations: 8 kB / 0.8983 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.2728, allocations: 39.89 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.47e-05/0.2728, allocations: 4 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.2729, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.2729, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.324e-05/0.2729, allocations: 7.984 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.273, allocations: 0 / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.2732, allocations: 99.84 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.2732, allocations: 3.984 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.2732, allocations: 4 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.987e-05/0.2733, allocations: 31.91 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2733, allocations: 0 / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2733, allocations: 4 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2734, allocations: 0 / 0.8985 GB, free: 66.3 MB / 0.6042 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.0002936/0.2737, allocations: 319.6 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2737, allocations: 8.031 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.2737, allocations: 4.844 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.252e-05/0.2738, allocations: 160.7 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2738, allocations: 384 / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.2739, allocations: 8.375 kB / 0.899 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.274, allocations: 34 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.274, allocations: 0 / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.274, allocations: 4 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.274, allocations: 0 / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.274, allocations: 11.94 kB / 0.899 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.2742, allocations: 141.7 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.75e-05/0.2742, allocations: 22.61 kB / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.2742, allocations: 4.859 kB / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004446/0.2747, allocations: 0.5623 MB / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.2747, allocations: 34.5 kB / 0.8998 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.2747, allocations: 3.938 kB / 0.8998 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.2749, allocations: 37.73 kB / 0.8998 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.2749, allocations: 55.44 kB / 0.8999 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.949e-05/0.2749, allocations: 93.86 kB / 0.9 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.2749, allocations: 25.7 kB / 0.9 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.294e-05/0.2749, allocations: 80.14 kB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.275, allocations: 7.922 kB / 0.9001 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.275, allocations: 9.719 kB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.2751, allocations: 310.8 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-06/0.2751, allocations: 4 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.2751, allocations: 4 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.2751, allocations: 8.859 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2751, allocations: 3.938 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.139e-05/0.2752, allocations: 37.64 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2752, allocations: 7.938 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2752, allocations: 0 / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2752, allocations: 7.984 kB / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.2753, allocations: 0 / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2753, allocations: 0 / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.2753, allocations: 4.094 kB / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2753, allocations: 3.984 kB / 0.9005 GB, free: 63.95 MB / 0.6042 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 5.466e-05/0.2754, allocations: 109.8 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-06/0.2754, allocations: 3.938 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.2755, allocations: 44.75 kB / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2755, allocations: 0 / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2756, allocations: 8.031 kB / 0.9006 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2756, allocations: 0 / 0.9006 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.147e-05/0.2756, allocations: 145.7 kB / 0.9008 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2756, allocations: 0 / 0.9008 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.359e-05/0.2757, allocations: 0 / 0.9008 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2757, allocations: 7.938 kB / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2757, allocations: 3.984 kB / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2757, allocations: 0 / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2757, allocations: 0 / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.155e-05/0.2757, allocations: 61.14 kB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.2758, allocations: 77.11 kB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.2758, allocations: 3.938 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-06/0.2758, allocations: 0 / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.2758, allocations: 7.922 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.2758, allocations: 0 / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.623e-05/0.2758, allocations: 79.31 kB / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2758, allocations: 0 / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001711/0.276, allocations: 15.94 kB / 0.901 GB, free: 63.29 MB / 0.6042 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.0001407/0.2762, allocations: 103.3 kB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.931e-05/0.2762, allocations: 4 kB / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2763, allocations: 0 / 0.9011 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/0.2763, allocations: 7.984 kB / 0.9011 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.2764, allocations: 3.938 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001639/0.2766, allocations: 104.4 kB / 0.9012 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.2767, allocations: 0.6733 MB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.2767, allocations: 7.438 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.2767, allocations: 3.938 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.001647/0.2784, allocations: 422.3 kB / 0.9023 GB, free: 61.91 MB / 0.6042 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)