Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 99.7 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.00127/0.00127, allocations: 177.3 kB / 15.94 MB, free: 228 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.429/1.429, allocations: 205.4 MB / 222.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.616/0.616, allocations: 95.58 MB / 365.9 MB, free: 10.37 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005947/0.0005948, allocations: 20 kB / 446.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3122, allocations: 70.33 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001454/0.3137, allocations: 1.165 MB / 0.5061 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000858/0.3146, allocations: 0.6289 MB / 0.5067 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.3147, allocations: 0 / 0.5067 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.3147, allocations: 0 / 0.5067 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.3147, allocations: 15.98 kB / 0.5068 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.315, allocations: 51.81 kB / 0.5068 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.3151, allocations: 23.92 kB / 0.5068 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.3152, allocations: 11.97 kB / 0.5068 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.593e-05/0.3153, allocations: 8 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.3153, allocations: 15.92 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3154, allocations: 0 / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.3155, allocations: 95.83 kB / 0.507 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.3155, allocations: 4 kB / 0.507 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.3156, allocations: 29.7 kB / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3157, allocations: 49.89 kB / 0.507 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3157, allocations: 0 / 0.507 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3157, allocations: 3.938 kB / 0.507 GB, free: 14.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3157, allocations: 4 kB / 0.507 GB, free: 14.39 MB / 382.1 MB 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.0003474/0.316, allocations: 359.1 kB / 0.5074 GB, free: 13.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3161, allocations: 15.98 kB / 0.5074 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.3161, allocations: 4 kB / 0.5074 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/0.3162, allocations: 170.9 kB / 0.5076 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3162, allocations: 11.94 kB / 0.5076 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.3163, allocations: 0 / 0.5076 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3164, allocations: 57.67 kB / 0.5076 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3164, allocations: 0 / 0.5076 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3164, allocations: 0 / 0.5076 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.3165, allocations: 0 / 0.5076 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.859e-05/0.3165, allocations: 39.97 kB / 0.5077 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.3168, allocations: 276.7 kB / 0.5079 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.576e-05/0.3169, allocations: 30.58 kB / 0.508 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/0.3173, allocations: 0.5623 MB / 0.5085 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.3173, allocations: 30.56 kB / 0.5085 GB, free: 12.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/0.3173, allocations: 0 / 0.5085 GB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002341/0.3175, allocations: 73.61 kB / 0.5086 GB, free: 12.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.3176, allocations: 55.53 kB / 0.5087 GB, free: 12.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.3176, allocations: 117.8 kB / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.3177, allocations: 25.7 kB / 0.5088 GB, free: 12.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.3177, allocations: 96.12 kB / 0.5089 GB, free: 12.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.3177, allocations: 3.906 kB / 0.5089 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.3177, allocations: 3.938 kB / 0.5089 GB, free: 12.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.3178, allocations: 318.8 kB / 0.5092 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.3178, allocations: 15.98 kB / 0.5092 GB, free: 11.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.3179, allocations: 8 kB / 0.5092 GB, free: 11.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.079e-05/0.3179, allocations: 15.98 kB / 0.5092 GB, free: 11.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3179, allocations: 0 / 0.5092 GB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.318, allocations: 65.53 kB / 0.5093 GB, free: 11.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3181, allocations: 8.031 kB / 0.5093 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3181, allocations: 4 kB / 0.5093 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3181, allocations: 0 / 0.5093 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.3182, allocations: 11.98 kB / 0.5093 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3182, allocations: 0 / 0.5093 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.526e-05/0.3182, allocations: 3.938 kB / 0.5093 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3182, allocations: 4 kB / 0.5093 GB, free: 11.69 MB / 382.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.3183, allocations: 113.8 kB / 0.5094 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3183, allocations: 4 kB / 0.5095 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.3185, allocations: 81 kB / 0.5095 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3185, allocations: 3.984 kB / 0.5095 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3185, allocations: 0 / 0.5095 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3185, allocations: 0 / 0.5095 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3186, allocations: 169.6 kB / 0.5097 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3186, allocations: 0 / 0.5097 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.3187, allocations: 11.98 kB / 0.5097 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3187, allocations: 4.031 kB / 0.5097 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3187, allocations: 0 / 0.5097 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3187, allocations: 0 / 0.5097 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3187, allocations: 0 / 0.5097 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.3188, allocations: 159.5 kB / 0.5099 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.3189, allocations: 81.02 kB / 0.5099 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3189, allocations: 7.969 kB / 0.5099 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.319, allocations: 4 kB / 0.51 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.319, allocations: 0 / 0.51 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.319, allocations: 3.984 kB / 0.51 GB, free: 10.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.101e-05/0.319, allocations: 95.28 kB / 0.51 GB, free: 10.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.319, allocations: 0 / 0.51 GB, free: 10.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.3193, allocations: 15.98 kB / 0.5101 GB, free: 10.85 MB / 382.1 MB 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 (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.0001093/0.3194, allocations: 107.3 kB / 0.5102 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.3195, allocations: 23.98 kB / 0.5102 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3195, allocations: 4 kB / 0.5102 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.3196, allocations: 19.92 kB / 0.5102 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.3197, allocations: 3.953 kB / 0.5102 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.32, allocations: 148.6 kB / 0.5104 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.3201, allocations: 0.6887 MB / 0.511 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.3e-05/0.3201, allocations: 0 / 0.511 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.3202, allocations: 11.44 kB / 0.511 GB, free: 9.789 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3202, allocations: 0 / 0.511 GB, free: 9.789 MB / 382.1 MB Notification: Performance of Templates: time 0.002499/0.3227, allocations: 447 kB / 0.5115 GB, free: 9.355 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: