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.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001178/0.001178, allocations: 194.3 kB / 16.14 MB, free: 6.699 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.436/1.436, allocations: 205.1 MB / 222 MB, free: 4.754 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.673/1.673, allocations: 292.2 MB / 0.5484 GB, free: 13.73 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.001373/0.001374, allocations: 67.33 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2371, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002736/0.2399, allocations: 1.549 MB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.241, allocations: 0.6884 MB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.2411, allocations: 0 / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.2411, allocations: 4 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.2412, allocations: 11.92 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.2414, allocations: 59.81 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.2415, allocations: 35.86 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.177e-05/0.2416, allocations: 12 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.2417, allocations: 23.86 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.2418, allocations: 23.91 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2418, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.2419, allocations: 95.91 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.242, allocations: 4 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.242, allocations: 19.86 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2421, allocations: 84.05 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2421, allocations: 0 / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2422, allocations: 0 / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2422, allocations: 3.938 kB / 0.7852 GB, free: 11.42 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.0004294/0.2426, allocations: 363.3 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2426, allocations: 12.03 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.2427, allocations: 0.9375 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2428, allocations: 168.3 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2428, allocations: 384 / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.2428, allocations: 4.375 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.243, allocations: 61.92 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.243, allocations: 0 / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.243, allocations: 0 / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.243, allocations: 4 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.2431, allocations: 27.98 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.2435, allocations: 280.7 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.292e-05/0.2436, allocations: 34.5 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.2437, allocations: 12.92 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/0.2441, allocations: 0.5622 MB / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2441, allocations: 34.56 kB / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2441, allocations: 0 / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002479/0.2444, allocations: 61.61 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.2444, allocations: 55.41 kB / 0.7868 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.2445, allocations: 125.9 kB / 0.7869 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.2446, allocations: 29.7 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.2446, allocations: 88.08 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.2446, allocations: 7.891 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.2447, allocations: 17.72 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.2448, allocations: 314.8 kB / 0.7874 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.2448, allocations: 15.98 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.2448, allocations: 8 kB / 0.7874 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.2449, allocations: 24.84 kB / 0.7874 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2449, allocations: 0 / 0.7874 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/0.2451, allocations: 69.45 kB / 0.7875 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2451, allocations: 7.938 kB / 0.7875 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2451, allocations: 3.984 kB / 0.7875 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2451, allocations: 0 / 0.7875 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-05/0.2452, allocations: 8.094 kB / 0.7875 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2452, allocations: 8 kB / 0.7875 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.2452, allocations: 7.984 kB / 0.7875 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2453, allocations: 0 / 0.7875 GB, free: 8.684 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.895e-05/0.2453, allocations: 113.8 kB / 0.7876 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.2454, allocations: 3.906 kB / 0.7876 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.2455, allocations: 65.2 kB / 0.7877 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2455, allocations: 0 / 0.7877 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2455, allocations: 4.031 kB / 0.7877 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2455, allocations: 0 / 0.7877 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.2457, allocations: 173.5 kB / 0.7879 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2457, allocations: 0 / 0.7879 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.2458, allocations: 4 kB / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2458, allocations: 3.984 kB / 0.7879 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2458, allocations: 0 / 0.7879 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.2458, allocations: 4 kB / 0.7879 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2458, allocations: 0 / 0.7879 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.2459, allocations: 147.5 kB / 0.788 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.246, allocations: 93 kB / 0.7881 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.246, allocations: 0 / 0.7881 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.2461, allocations: 0 / 0.7881 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.2461, allocations: 4 kB / 0.7881 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-06/0.2461, allocations: 0 / 0.7881 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.2462, allocations: 91.27 kB / 0.7882 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2462, allocations: 4 kB / 0.7882 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000218/0.2464, allocations: 19.97 kB / 0.7882 GB, free: 7.863 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.000152/0.2466, allocations: 111.2 kB / 0.7883 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.2467, allocations: 19.98 kB / 0.7884 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2467, allocations: 0 / 0.7884 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.2467, allocations: 11.94 kB / 0.7884 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.247, allocations: 7.984 kB / 0.7884 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.2473, allocations: 144.5 kB / 0.7885 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.2475, allocations: 0.6848 MB / 0.7892 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.2476, allocations: 7.984 kB / 0.7892 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.2476, allocations: 7.438 kB / 0.7892 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2476, allocations: 0 / 0.7892 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of Templates: time 0.002274/0.2499, allocations: 456.8 kB / 0.7896 GB, free: 6.371 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)