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.0009531/0.0009533, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008991/0.0008991, allocations: 172.7 kB / 15.95 MB, free: 208 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.81/1.81, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.6436/0.6437, allocations: 95.63 MB / 366 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.0005598/0.00056, allocations: 20 kB / 446.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4036, allocations: 70.34 MB / 0.5051 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001597/0.4053, allocations: 1.177 MB / 0.5062 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008781/0.4062, allocations: 0.6251 MB / 0.5068 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.4062, allocations: 0 / 0.5068 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.4063, allocations: 7.922 kB / 0.5068 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.4063, allocations: 7.938 kB / 0.5068 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.4066, allocations: 55.86 kB / 0.5069 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.4067, allocations: 31.86 kB / 0.5069 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.4068, allocations: 12 kB / 0.5069 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.4069, allocations: 15.92 kB / 0.507 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.407, allocations: 11.94 kB / 0.507 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.407, allocations: 0 / 0.507 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.4071, allocations: 87.89 kB / 0.507 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.4071, allocations: 4 kB / 0.5071 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.4072, allocations: 33.64 kB / 0.5071 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.4073, allocations: 54.02 kB / 0.5071 GB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4073, allocations: 0 / 0.5071 GB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4073, allocations: 8 kB / 0.5071 GB, free: 14.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.4073, allocations: 0 / 0.5071 GB, free: 14.5 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.0003298/0.4077, allocations: 359.2 kB / 0.5075 GB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.4077, allocations: 11.98 kB / 0.5075 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.4077, allocations: 4 kB / 0.5075 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.018e-05/0.4078, allocations: 170.9 kB / 0.5077 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.4078, allocations: 11.95 kB / 0.5077 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.4079, allocations: 0 / 0.5077 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.408, allocations: 61.67 kB / 0.5077 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.408, allocations: 3.938 kB / 0.5077 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.408, allocations: 0 / 0.5077 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.408, allocations: 0 / 0.5077 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.4081, allocations: 27.98 kB / 0.5078 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.4084, allocations: 280.8 kB / 0.508 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.4085, allocations: 34.5 kB / 0.5081 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.4086, allocations: 24.86 kB / 0.5081 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.4089, allocations: 0.5583 MB / 0.5086 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.4089, allocations: 34.56 kB / 0.5087 GB, free: 12.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4089, allocations: 0 / 0.5087 GB, free: 12.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002104/0.4091, allocations: 65.69 kB / 0.5087 GB, free: 12.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.752e-05/0.4092, allocations: 51.41 kB / 0.5088 GB, free: 12.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.4092, allocations: 121.8 kB / 0.5089 GB, free: 12.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.4093, allocations: 33.83 kB / 0.5089 GB, free: 12.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.4093, allocations: 92.08 kB / 0.509 GB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.4093, allocations: 7.844 kB / 0.509 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.4093, allocations: 0 / 0.509 GB, free: 12.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.4094, allocations: 322.8 kB / 0.5093 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.4094, allocations: 12 kB / 0.5093 GB, free: 11.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.4094, allocations: 11.98 kB / 0.5094 GB, free: 11.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.4095, allocations: 16.06 kB / 0.5094 GB, free: 11.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4095, allocations: 0 / 0.5094 GB, free: 11.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.558e-05/0.4096, allocations: 61.58 kB / 0.5094 GB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.4096, allocations: 4 kB / 0.5094 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4096, allocations: 0 / 0.5094 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.4096, allocations: 0 / 0.5094 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.4097, allocations: 12.03 kB / 0.5094 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4097, allocations: 0 / 0.5094 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.4098, allocations: 11.92 kB / 0.5095 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4098, allocations: 0 / 0.5095 GB, free: 11.79 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.76e-05/0.4098, allocations: 121.7 kB / 0.5096 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.4099, allocations: 0 / 0.5096 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.41, allocations: 77.06 kB / 0.5096 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.41, allocations: 0 / 0.5096 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.41, allocations: 4 kB / 0.5096 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.41, allocations: 0 / 0.5096 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.4102, allocations: 165.7 kB / 0.5098 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4102, allocations: 4 kB / 0.5098 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.4102, allocations: 7.984 kB / 0.5098 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4102, allocations: 3.938 kB / 0.5098 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.4102, allocations: 0 / 0.5098 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4102, allocations: 0 / 0.5098 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4103, allocations: 8.031 kB / 0.5098 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.4104, allocations: 159.4 kB / 0.51 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.4104, allocations: 85 kB / 0.5101 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4104, allocations: 4 kB / 0.5101 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.4105, allocations: 0 / 0.5101 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.4105, allocations: 4.031 kB / 0.5101 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4106, allocations: 4 kB / 0.5101 GB, free: 11.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.4106, allocations: 95.27 kB / 0.5102 GB, free: 10.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4106, allocations: 0 / 0.5102 GB, free: 10.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000225/0.4108, allocations: 12 kB / 0.5102 GB, free: 10.95 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.000118/0.411, allocations: 99.23 kB / 0.5103 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.4111, allocations: 35.92 kB / 0.5103 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4111, allocations: 0 / 0.5103 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.4111, allocations: 15.98 kB / 0.5103 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.4114, allocations: 13.77 kB / 0.5103 GB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.4116, allocations: 140.8 kB / 0.5105 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.4117, allocations: 0.6809 MB / 0.5111 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.444e-05/0.4118, allocations: 7.969 kB / 0.5111 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.4118, allocations: 11.44 kB / 0.5111 GB, free: 9.891 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4118, allocations: 3.938 kB / 0.5112 GB, free: 9.887 MB / 382.1 MB Notification: Performance of Templates: time 0.002358/0.4141, allocations: 436.8 kB / 0.5116 GB, free: 9.461 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: