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.001174/0.001173, allocations: 92.16 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.001287/0.001287, 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.787/1.787, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.738/1.738, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005235/0.0005235, allocations: 14.66 kB / 0.6737 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2514, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001667/0.2531, allocations: 1.195 MB / 0.7884 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.254, allocations: 0.6345 MB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.2541, allocations: 0 / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.2541, allocations: 0 / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.043e-05/0.2542, allocations: 7.922 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.2545, allocations: 59.7 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.2545, allocations: 35.92 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.2546, allocations: 11.97 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.2547, allocations: 15.94 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.2548, allocations: 15.92 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.2548, allocations: 0 / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.255, allocations: 87.89 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.255, allocations: 11.94 kB / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.255, allocations: 25.7 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2551, allocations: 60.19 kB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2552, allocations: 0 / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2552, allocations: 0 / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2552, allocations: 0 / 0.7894 GB, free: 9.785 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.0003917/0.2556, allocations: 359.2 kB / 0.7897 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2556, allocations: 8.031 kB / 0.7897 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.2556, allocations: 11.91 kB / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2558, allocations: 174.9 kB / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2558, allocations: 0 / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.2558, allocations: 4 kB / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.256, allocations: 57.67 kB / 0.79 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.256, allocations: 4 kB / 0.79 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.256, allocations: 4 kB / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.256, allocations: 0 / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.2561, allocations: 27.98 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.2566, allocations: 284.7 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.2567, allocations: 38.56 kB / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.2567, allocations: 12.92 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/0.2572, allocations: 0.5622 MB / 0.7909 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2573, allocations: 30.56 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2573, allocations: 4 kB / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002632/0.2576, allocations: 77.48 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2576, allocations: 55.39 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.2577, allocations: 125.7 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2577, allocations: 25.7 kB / 0.7912 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.2578, allocations: 96.2 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2578, allocations: 7.891 kB / 0.7913 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.2578, allocations: 0 / 0.7913 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.2579, allocations: 314.8 kB / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.258, allocations: 8 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.258, allocations: 15.98 kB / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.2581, allocations: 12.06 kB / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2581, allocations: 0 / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001172/0.2582, allocations: 69.55 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2582, allocations: 8 kB / 0.7917 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2582, allocations: 0 / 0.7917 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2583, allocations: 3.984 kB / 0.7917 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.2583, allocations: 4 kB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2583, allocations: 3.953 kB / 0.7917 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.2584, allocations: 15.92 kB / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.2584, allocations: 0 / 0.7917 GB, free: 7.051 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/0.2585, allocations: 109.8 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.2585, allocations: 4 kB / 0.7918 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.2587, allocations: 69.14 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2587, allocations: 4.031 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2587, allocations: 0 / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2587, allocations: 3.953 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.2589, allocations: 165.7 kB / 0.792 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2589, allocations: 0 / 0.792 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.2589, allocations: 7.984 kB / 0.7921 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2589, allocations: 4 kB / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2589, allocations: 0 / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2589, allocations: 0 / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2589, allocations: 0 / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.2591, allocations: 159.4 kB / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.2592, allocations: 85.09 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2592, allocations: 3.938 kB / 0.7923 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/0.2592, allocations: 8 kB / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.2593, allocations: 0 / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.2593, allocations: 0 / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.2593, allocations: 103.2 kB / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2594, allocations: 0 / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000223/0.2596, allocations: 12 kB / 0.7924 GB, free: 6.223 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 (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.0001469/0.2597, allocations: 111.2 kB / 0.7925 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.2599, allocations: 23.98 kB / 0.7925 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2599, allocations: 8.062 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.2599, allocations: 11.98 kB / 0.7926 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.2601, allocations: 6.391 kB / 0.7926 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.2604, allocations: 148.5 kB / 0.7927 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2607, allocations: 0.6849 MB / 0.7934 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.2607, allocations: 11.97 kB / 0.7934 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.2608, allocations: 7.438 kB / 0.7934 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2608, allocations: 0 / 0.7934 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of Templates: time 0.002264/0.2631, allocations: 437 kB / 0.7938 GB, free: 4.73 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: