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.0007718/0.0007718, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005148/0.005148, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.505/1.505, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.739/1.739, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.000549/0.000549, allocations: 24.78 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2311, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001923/0.233, allocations: 1.21 MB / 0.7891 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2342, allocations: 0.6769 MB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.2343, allocations: 0 / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.2344, allocations: 0 / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.2344, allocations: 7.922 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.2348, allocations: 55.88 kB / 0.7898 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.2349, allocations: 39.8 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.235, allocations: 19.98 kB / 0.7898 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.2351, allocations: 7.938 kB / 0.7898 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.2351, allocations: 19.91 kB / 0.7899 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.2351, allocations: 0 / 0.7899 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2354, allocations: 95.91 kB / 0.7899 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.2354, allocations: 0 / 0.7899 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.2354, allocations: 45.56 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.2356, allocations: 80.05 kB / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2356, allocations: 11.94 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2356, allocations: 0 / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.2356, allocations: 0 / 0.7901 GB, free: 9.312 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.0004034/0.236, allocations: 359.4 kB / 0.7904 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2361, allocations: 8.031 kB / 0.7904 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.2361, allocations: 8.844 kB / 0.7904 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2362, allocations: 164.3 kB / 0.7906 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2363, allocations: 4.375 kB / 0.7906 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2363, allocations: 384 / 0.7906 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.2364, allocations: 65.98 kB / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2365, allocations: 0 / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2365, allocations: 0 / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2365, allocations: 0 / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.719e-05/0.2366, allocations: 31.98 kB / 0.7907 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.237, allocations: 288.7 kB / 0.791 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.2371, allocations: 34.56 kB / 0.791 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.2371, allocations: 20.91 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004315/0.2376, allocations: 0.5505 MB / 0.7916 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2376, allocations: 38.56 kB / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2376, allocations: 0 / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002604/0.2379, allocations: 77.52 kB / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.2379, allocations: 51.41 kB / 0.7917 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.238, allocations: 121.9 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.238, allocations: 29.7 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.2381, allocations: 92.06 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.2381, allocations: 7.906 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.2381, allocations: 13.72 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.2382, allocations: 314.8 kB / 0.7923 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.2383, allocations: 15.98 kB / 0.7923 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.433e-05/0.2383, allocations: 8 kB / 0.7923 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.2384, allocations: 36.84 kB / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2385, allocations: 0 / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/0.2386, allocations: 65.58 kB / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2386, allocations: 4 kB / 0.7924 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2386, allocations: 3.938 kB / 0.7924 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2386, allocations: 4.031 kB / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.2387, allocations: 8 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2387, allocations: 0 / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.2388, allocations: 7.984 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2388, allocations: 0 / 0.7924 GB, free: 6.562 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 6.498e-05/0.2389, allocations: 113.8 kB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.2389, allocations: 4 kB / 0.7925 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.2391, allocations: 77.08 kB / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2391, allocations: 0 / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2391, allocations: 0 / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2391, allocations: 0 / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.2393, allocations: 177.5 kB / 0.7928 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2393, allocations: 0 / 0.7928 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.2393, allocations: 4 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2393, allocations: 7.984 kB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2393, allocations: 4.031 kB / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2394, allocations: 0 / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2394, allocations: 3.984 kB / 0.7928 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.2395, allocations: 155.4 kB / 0.7929 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.2396, allocations: 89 kB / 0.793 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2396, allocations: 0 / 0.793 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.2397, allocations: 12.02 kB / 0.793 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.2397, allocations: 0 / 0.793 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.2397, allocations: 0 / 0.793 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.2398, allocations: 95.27 kB / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2398, allocations: 0 / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002209/0.24, allocations: 15.94 kB / 0.7931 GB, free: 5.715 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.0001582/0.2402, allocations: 107.2 kB / 0.7932 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.2403, allocations: 31.98 kB / 0.7933 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2403, allocations: 0 / 0.7933 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.2404, allocations: 11.94 kB / 0.7933 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.2406, allocations: 14.89 kB / 0.7933 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.2409, allocations: 152.7 kB / 0.7934 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.2411, allocations: 0.6809 MB / 0.7941 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.427e-05/0.2412, allocations: 0 / 0.7941 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.2412, allocations: 11.44 kB / 0.7941 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.2412, allocations: 0 / 0.7941 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of Templates: time 0.002482/0.2437, allocations: 451.4 kB / 0.7946 GB, free: 4.215 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: