Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001204/0.001204, allocations: 181.2 kB / 326.5 MB, free: 2.695 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.028/2.028, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008094/0.0008093, allocations: 88.48 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004369, allocations: 13.97 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2886, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001701/0.2903, allocations: 1.238 MB / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2914, allocations: 0.6887 MB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.2914, allocations: 0 / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.2915, allocations: 3.938 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.2915, allocations: 3.938 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.2918, allocations: 59.88 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.2919, allocations: 31.92 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.292, allocations: 19.92 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.486e-05/0.2921, allocations: 11.92 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.2921, allocations: 15.92 kB / 0.8988 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2922, allocations: 4 kB / 0.8988 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.2923, allocations: 99.84 kB / 0.8989 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.2924, allocations: 7.922 kB / 0.8989 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.2924, allocations: 15.88 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.2925, allocations: 59.91 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2925, allocations: 0 / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2925, allocations: 0 / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2925, allocations: 0 / 0.8989 GB, free: 65.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003971/0.2929, allocations: 349.1 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.293, allocations: 20.02 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.293, allocations: 4.938 kB / 0.8993 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.104e-05/0.2931, allocations: 168.3 kB / 0.8995 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2932, allocations: 384 / 0.8995 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.2932, allocations: 4.375 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.2933, allocations: 61.98 kB / 0.8995 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2933, allocations: 0 / 0.8995 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2934, allocations: 0 / 0.8995 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2934, allocations: 0 / 0.8995 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.2935, allocations: 39.92 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.2938, allocations: 284.6 kB / 0.8998 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.71e-05/0.2939, allocations: 30.56 kB / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.2939, allocations: 24.86 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.2943, allocations: 0.5544 MB / 0.9004 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2943, allocations: 38.55 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2943, allocations: 0 / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002307/0.2945, allocations: 65.69 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.2946, allocations: 51.41 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.2947, allocations: 121.8 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.2947, allocations: 25.7 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.2947, allocations: 96.05 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.2947, allocations: 0 / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.2948, allocations: 9.719 kB / 0.9008 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.962e-05/0.2948, allocations: 334.8 kB / 0.9011 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.2949, allocations: 11.94 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.2949, allocations: 15.98 kB / 0.9012 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.914e-05/0.295, allocations: 28.84 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.295, allocations: 0 / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.841e-05/0.2951, allocations: 61.66 kB / 0.9012 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2951, allocations: 4 kB / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2951, allocations: 0 / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2951, allocations: 4 kB / 0.9012 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.675e-05/0.2952, allocations: 7.984 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2952, allocations: 0 / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.2953, allocations: 4 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2953, allocations: 7.969 kB / 0.9013 GB, free: 63.2 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 (2): * Single equations (assignments): 2 * 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.063e-05/0.2953, allocations: 117.8 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.2954, allocations: 3.906 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.2955, allocations: 69.19 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2955, allocations: 3.984 kB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2956, allocations: 8 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2956, allocations: 8.016 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.2957, allocations: 165.6 kB / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.2957, allocations: 0 / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.2957, allocations: 4 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2957, allocations: 0 / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2958, allocations: 0 / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2958, allocations: 0 / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2958, allocations: 4 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2959, allocations: 167.3 kB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.2959, allocations: 77.11 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2959, allocations: 4 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.296, allocations: 3.938 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.296, allocations: 7.984 kB / 0.9019 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.2961, allocations: 0 / 0.9019 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.2961, allocations: 99.27 kB / 0.902 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2961, allocations: 7.969 kB / 0.902 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002438/0.2964, allocations: 19.88 kB / 0.902 GB, free: 62.34 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 (2): * Single equations (assignments): 2 * 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.0001328/0.2965, allocations: 99.25 kB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.2966, allocations: 27.92 kB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2966, allocations: 0 / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.2967, allocations: 24.05 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.2969, allocations: 0 / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.2972, allocations: 166.9 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.2973, allocations: 0.6809 MB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.2973, allocations: 11.5 kB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2973, allocations: 4 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.001988/0.2993, allocations: 0.6993 MB / 0.9037 GB, free: 60.57 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)