Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001911/0.001911, allocations: 110.4 kB / 16.27 MB, free: 6.012 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.002295/0.002295, allocations: 186.1 kB / 17.2 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.886/0.886, allocations: 125.4 MB / 416.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 63.89 kB / 0.4941 GB, free: 4.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4505, allocations: 78.55 MB / 0.5709 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002726/0.4532, allocations: 1.477 MB / 0.5723 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.4543, allocations: 0.6493 MB / 0.5729 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.4543, allocations: 4.719 kB / 0.5729 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.4544, allocations: 0.6094 kB / 0.5729 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.76e-05/0.4544, allocations: 10.22 kB / 0.573 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.4548, allocations: 79.95 kB / 0.573 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.355e-05/0.4549, allocations: 38.33 kB / 0.5731 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.455, allocations: 19.05 kB / 0.5731 GB, free: 30 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.4551, allocations: 16.91 kB / 0.5731 GB, free: 30 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.4552, allocations: 17.84 kB / 0.5731 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.4552, allocations: 2.531 kB / 0.5731 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.4554, allocations: 106.9 kB / 0.5732 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.4554, allocations: 10.92 kB / 0.5732 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.4555, allocations: 12.62 kB / 0.5732 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.4556, allocations: 88.95 kB / 0.5733 GB, free: 29.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4556, allocations: 0 / 0.5733 GB, free: 29.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4557, allocations: 1.312 kB / 0.5733 GB, free: 29.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.4557, allocations: 0 / 0.5733 GB, free: 29.91 MB / 446.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.0003946/0.4561, allocations: 366 kB / 0.5737 GB, free: 29.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.4561, allocations: 8.688 kB / 0.5737 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.4562, allocations: 8.516 kB / 0.5737 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.4562, allocations: 180.3 kB / 0.5739 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4563, allocations: 3 kB / 0.5739 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.4563, allocations: 2.844 kB / 0.5739 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.4564, allocations: 58.88 kB / 0.5739 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4565, allocations: 0 / 0.5739 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4565, allocations: 0 / 0.5739 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4565, allocations: 1.188 kB / 0.5739 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.767e-05/0.4566, allocations: 30.17 kB / 0.574 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.4569, allocations: 277.9 kB / 0.5742 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.426e-05/0.457, allocations: 30.03 kB / 0.5743 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.4571, allocations: 21 kB / 0.5743 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/0.4574, allocations: 0.5591 MB / 0.5748 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.4575, allocations: 32.33 kB / 0.5748 GB, free: 28.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.4575, allocations: 0.75 kB / 0.5748 GB, free: 28.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002373/0.4577, allocations: 63.25 kB / 0.5749 GB, free: 28.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.4578, allocations: 53.53 kB / 0.575 GB, free: 28.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.4578, allocations: 120.2 kB / 0.5751 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.4579, allocations: 26.36 kB / 0.5751 GB, free: 28.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.4579, allocations: 97.27 kB / 0.5752 GB, free: 27.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.4579, allocations: 1.922 kB / 0.5752 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.4579, allocations: 13.92 kB / 0.5752 GB, free: 27.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.458, allocations: 326.2 kB / 0.5755 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.458, allocations: 11.61 kB / 0.5755 GB, free: 27.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.353e-05/0.4581, allocations: 12.56 kB / 0.5755 GB, free: 27.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.61e-05/0.4582, allocations: 25.81 kB / 0.5756 GB, free: 27.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4582, allocations: 2.844 kB / 0.5756 GB, free: 27.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001126/0.4583, allocations: 56.66 kB / 0.5756 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4583, allocations: 8.688 kB / 0.5756 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.4583, allocations: 0.7969 kB / 0.5756 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4583, allocations: 1.156 kB / 0.5756 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.4584, allocations: 6.453 kB / 0.5756 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4584, allocations: 1.625 kB / 0.5756 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.4585, allocations: 11.44 kB / 0.5757 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.4585, allocations: 2.094 kB / 0.5757 GB, free: 27.5 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.4585, allocations: 117 kB / 0.5758 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.4586, allocations: 7.281 kB / 0.5758 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.4587, allocations: 65.2 kB / 0.5758 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4587, allocations: 0 / 0.5758 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4587, allocations: 1.25 kB / 0.5758 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4588, allocations: 0 / 0.5758 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.4589, allocations: 166.8 kB / 0.576 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4589, allocations: 0 / 0.576 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.4589, allocations: 11.12 kB / 0.576 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.4589, allocations: 2.906 kB / 0.576 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.459, allocations: 5.953 kB / 0.576 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.459, allocations: 0 / 0.576 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.459, allocations: 0.6562 kB / 0.576 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.4591, allocations: 159.8 kB / 0.5762 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.4591, allocations: 80.14 kB / 0.5762 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4592, allocations: 1.969 kB / 0.5762 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.4592, allocations: 3.531 kB / 0.5762 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.4593, allocations: 1.906 kB / 0.5763 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4593, allocations: 7.25 kB / 0.5763 GB, free: 26.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.158e-05/0.4593, allocations: 92.55 kB / 0.5763 GB, free: 26.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4593, allocations: 5 kB / 0.5764 GB, free: 26.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.4596, allocations: 13.94 kB / 0.5764 GB, free: 26.8 MB / 446.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 (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.0001345/0.4597, allocations: 110.6 kB / 0.5765 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.4598, allocations: 29.27 kB / 0.5765 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4599, allocations: 0 / 0.5765 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.4599, allocations: 15.11 kB / 0.5765 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.4601, allocations: 1.75 kB / 0.5765 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.4604, allocations: 137.1 kB / 0.5766 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.4605, allocations: 0.6863 MB / 0.5773 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.529e-05/0.4606, allocations: 4.312 kB / 0.5773 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.4606, allocations: 9.344 kB / 0.5773 GB, free: 25.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4606, allocations: 1.156 kB / 0.5773 GB, free: 25.87 MB / 446.1 MB Notification: Performance of Templates: time 0.003103/0.4637, allocations: 0.4939 MB / 0.5778 GB, free: 25.81 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)