Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001129/0.001129, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001235/0.001235, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.447/1.447, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.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.001273/0.001273, allocations: 71.09 kB / 0.6716 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.242, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002777/0.2448, allocations: 1.545 MB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2459, allocations: 0.6689 MB / 0.7857 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.2459, allocations: 4 kB / 0.7857 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.246, allocations: 7.984 kB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.246, allocations: 7.922 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.2464, allocations: 67.88 kB / 0.7858 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.2465, allocations: 39.8 kB / 0.7858 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2466, allocations: 8 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.2467, allocations: 27.91 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.2468, allocations: 19.92 kB / 0.7859 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2468, allocations: 4 kB / 0.7859 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.247, allocations: 91.92 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.247, allocations: 11.97 kB / 0.786 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.247, allocations: 15.88 kB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2472, allocations: 60.14 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2472, allocations: 0 / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2472, allocations: 0 / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2472, allocations: 0 / 0.786 GB, free: 11.32 MB / 0.6075 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.0004544/0.2477, allocations: 367.3 kB / 0.7864 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2477, allocations: 8.031 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.2478, allocations: 8.875 kB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2479, allocations: 172.2 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2479, allocations: 4.375 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2479, allocations: 384 / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.2481, allocations: 57.94 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2481, allocations: 0 / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2481, allocations: 8 kB / 0.7866 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2481, allocations: 0 / 0.7866 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.503e-05/0.2482, allocations: 31.97 kB / 0.7867 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.2486, allocations: 280.7 kB / 0.7869 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.2487, allocations: 34.56 kB / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.2487, allocations: 12.92 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004778/0.2492, allocations: 0.5583 MB / 0.7875 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2493, allocations: 30.56 kB / 0.7875 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.2493, allocations: 0 / 0.7875 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002433/0.2495, allocations: 65.61 kB / 0.7876 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2496, allocations: 55.53 kB / 0.7877 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2497, allocations: 129.8 kB / 0.7878 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2497, allocations: 25.7 kB / 0.7878 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.2498, allocations: 88.08 kB / 0.7879 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.2498, allocations: 7.906 kB / 0.7879 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.2498, allocations: 13.72 kB / 0.7879 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2499, allocations: 322.8 kB / 0.7882 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.25, allocations: 8 kB / 0.7882 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.25, allocations: 19.98 kB / 0.7882 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/0.2501, allocations: 24.84 kB / 0.7883 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2501, allocations: 0 / 0.7883 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001146/0.2502, allocations: 57.53 kB / 0.7883 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2503, allocations: 10.19 kB / 0.7883 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2503, allocations: 0 / 0.7883 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2503, allocations: 0 / 0.7883 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.2504, allocations: 12.08 kB / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2504, allocations: 0 / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.2504, allocations: 8 kB / 0.7884 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.2504, allocations: 0 / 0.7884 GB, free: 8.59 MB / 0.6075 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 7.494e-05/0.2505, allocations: 109.8 kB / 0.7885 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.2505, allocations: 7.906 kB / 0.7885 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.2507, allocations: 73.06 kB / 0.7885 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2507, allocations: 4.031 kB / 0.7885 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2507, allocations: 0 / 0.7885 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2507, allocations: 3.984 kB / 0.7885 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.2509, allocations: 169.6 kB / 0.7887 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2509, allocations: 3.938 kB / 0.7887 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.251, allocations: 8 kB / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.251, allocations: 0 / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.251, allocations: 0 / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.251, allocations: 0 / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.251, allocations: 0 / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.2512, allocations: 155.5 kB / 0.7889 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.2512, allocations: 81.02 kB / 0.7889 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.2512, allocations: 4 kB / 0.7889 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.2513, allocations: 4 kB / 0.789 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.2513, allocations: 7.922 kB / 0.789 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.2514, allocations: 0 / 0.789 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.572e-05/0.2514, allocations: 95.27 kB / 0.789 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2514, allocations: 4.031 kB / 0.7891 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002248/0.2517, allocations: 11.94 kB / 0.7891 GB, free: 7.758 MB / 0.6075 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.0001458/0.2518, allocations: 103.2 kB / 0.7892 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.252, allocations: 27.98 kB / 0.7892 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.252, allocations: 0 / 0.7892 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.252, allocations: 11.98 kB / 0.7892 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.2522, allocations: 8.125 kB / 0.7892 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.2526, allocations: 172.2 kB / 0.7894 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2528, allocations: 0.6846 MB / 0.79 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.2529, allocations: 7.438 kB / 0.79 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2529, allocations: 0 / 0.79 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of Templates: time 0.002035/0.2549, allocations: 0.7216 MB / 0.7908 GB, free: 5.961 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)