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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001635/0.001635, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.771/2.771, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.42 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3654, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002946/0.3684, allocations: 1.559 MB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3695, allocations: 0.6584 MB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.3696, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.3696, allocations: 3.938 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.3697, allocations: 11.92 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.37, allocations: 59.38 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.455e-05/0.3701, allocations: 39.86 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3702, allocations: 15.92 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.292e-05/0.3702, allocations: 11.94 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.3703, allocations: 15.92 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3703, allocations: 4 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3705, allocations: 107.9 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.3705, allocations: 7.922 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.3706, allocations: 11.94 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.3707, allocations: 92.03 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3707, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3707, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3708, allocations: 0 / 1.07 GB, free: 8.305 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.0004313/0.3712, allocations: 355.4 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3712, allocations: 12.03 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.3713, allocations: 12.84 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3714, allocations: 172.2 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3714, allocations: 384 / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3714, allocations: 12.25 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3716, allocations: 57.98 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3716, allocations: 0 / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3716, allocations: 0 / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3716, allocations: 4 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.138e-05/0.3717, allocations: 23.98 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.3722, allocations: 284.7 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.3723, allocations: 26.56 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.3724, allocations: 20.91 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/0.373, allocations: 0.5583 MB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.373, allocations: 34.56 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.373, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003006/0.3733, allocations: 65.61 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3734, allocations: 51.41 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3735, allocations: 117.8 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.3735, allocations: 29.69 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.3736, allocations: 104.3 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3736, allocations: 3.906 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.3737, allocations: 9.719 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3738, allocations: 326.8 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.3739, allocations: 4 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.3739, allocations: 19.92 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.374, allocations: 32.91 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.374, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.3741, allocations: 57.53 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3742, allocations: 9.719 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3742, allocations: 0 / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3742, allocations: 0 / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.3743, allocations: 7.984 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3743, allocations: 0 / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.3743, allocations: 4 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3743, allocations: 4.031 kB / 1.072 GB, free: 5.57 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 8.115e-05/0.3744, allocations: 114.4 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.3745, allocations: 7.906 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.3746, allocations: 65.14 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3746, allocations: 3.984 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3746, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3747, allocations: 4 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3748, allocations: 161.6 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3748, allocations: 8 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.3749, allocations: 7.984 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3749, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.3749, allocations: 7.938 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3749, allocations: 0 / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3749, allocations: 0 / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.3751, allocations: 155.5 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.3751, allocations: 81.02 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3752, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.3752, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.3753, allocations: 7.984 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.3753, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.3753, allocations: 99.2 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3753, allocations: 0 / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000225/0.3756, allocations: 11.94 kB / 1.073 GB, free: 4.742 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.000151/0.3757, allocations: 107.2 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.3759, allocations: 23.98 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3759, allocations: 0 / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.3759, allocations: 15.98 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3761, allocations: 2.672 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.3765, allocations: 148.4 kB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.3767, allocations: 0.6848 MB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.3767, allocations: 0 / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.3768, allocations: 11.44 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3768, allocations: 0 / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.002579/0.3794, allocations: 453.5 kB / 1.074 GB, free: 3.254 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)