Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001392/0.001392, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 60.56 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.34, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002779/0.3428, allocations: 1.5 MB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3439, allocations: 0.6504 MB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.344, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.344, allocations: 3.938 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.3441, allocations: 7.922 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.3444, allocations: 75.73 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.564e-05/0.3445, allocations: 47.78 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.3446, allocations: 16 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.3447, allocations: 15.98 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.3448, allocations: 19.86 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3448, allocations: 4 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.345, allocations: 95.89 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.345, allocations: 4 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.345, allocations: 23.86 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.3452, allocations: 80.11 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3452, allocations: 4 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3452, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.3452, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 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.0005491/0.3458, allocations: 363.4 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3458, allocations: 8.031 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3459, allocations: 8.844 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.346, allocations: 184.1 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.346, allocations: 384 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.346, allocations: 4.375 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3462, allocations: 58 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3462, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3462, allocations: 4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3462, allocations: 0 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.372e-05/0.3463, allocations: 27.97 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.3467, allocations: 280.7 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.62e-05/0.3468, allocations: 30.58 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.3469, allocations: 16.91 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004919/0.3474, allocations: 0.5583 MB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3474, allocations: 34.56 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3474, allocations: 11.94 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002426/0.3477, allocations: 61.62 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.3477, allocations: 51.41 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.3478, allocations: 121.8 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3478, allocations: 25.7 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.3479, allocations: 92.08 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.3479, allocations: 7.969 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.348, allocations: 25.83 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3481, allocations: 318.8 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.3481, allocations: 15.98 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.3482, allocations: 4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.967e-05/0.3482, allocations: 28.84 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3483, allocations: 0 / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.3484, allocations: 65.59 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3484, allocations: 7.984 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3484, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3484, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/0.3485, allocations: 4 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3485, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.3486, allocations: 4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3486, allocations: 3.938 kB / 1.073 GB, free: 5.172 MB / 0.8262 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.604e-05/0.3487, allocations: 117.8 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.3487, allocations: 7.938 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.3489, allocations: 69.14 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3489, allocations: 0 / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3489, allocations: 0 / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3489, allocations: 0 / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3491, allocations: 169.6 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3491, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.3491, allocations: 4 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3491, allocations: 0 / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3491, allocations: 4.031 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3492, allocations: 3.984 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3492, allocations: 4 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.3493, allocations: 147.5 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.3494, allocations: 88.95 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3494, allocations: 3.984 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.3495, allocations: 3.984 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.3495, allocations: 8.031 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3495, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.355e-05/0.3496, allocations: 91.27 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3496, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000232/0.3498, allocations: 23.88 kB / 1.074 GB, free: 4.336 MB / 0.8262 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.0001868/0.35, allocations: 107.3 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.3502, allocations: 27.98 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3502, allocations: 4 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.676e-05/0.3502, allocations: 8 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3505, allocations: 7.938 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.3508, allocations: 130.5 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3511, allocations: 0.6847 MB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.3511, allocations: 0 / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.3511, allocations: 11.44 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3511, allocations: 3.938 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of Templates: time 0.002734/0.3539, allocations: 0.4912 MB / 1.075 GB, free: 2.812 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)