Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001261/0.001261, allocations: 104.9 kB / 16.41 MB, free: 6.008 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.001185/0.001185, allocations: 185.4 kB / 17.34 MB, free: 5.629 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 294.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8845/0.8845, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 91.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3649, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002283/0.3672, allocations: 1.5 MB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000946/0.3681, allocations: 0.6414 MB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.3682, allocations: 3.938 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.3682, allocations: 3.938 kB / 0.7692 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.3683, allocations: 7.938 kB / 0.7692 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.3686, allocations: 79.73 kB / 0.7692 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.3687, allocations: 47.83 kB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.3688, allocations: 11.66 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.3688, allocations: 19.92 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.3689, allocations: 15.92 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3689, allocations: 8 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.3691, allocations: 99.89 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.3691, allocations: 11.94 kB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.3692, allocations: 15.92 kB / 0.7695 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3693, allocations: 83.77 kB / 0.7695 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3693, allocations: 4 kB / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3693, allocations: 0 / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3693, allocations: 0 / 0.7695 GB, free: 1.387 MB / 0.5294 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.0003829/0.3697, allocations: 361.9 kB / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.3698, allocations: 16.03 kB / 0.7699 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.3698, allocations: 0.9375 kB / 0.7699 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3699, allocations: 180.2 kB / 0.7701 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3699, allocations: 384 / 0.7701 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.3699, allocations: 4.375 kB / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3701, allocations: 54 kB / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3701, allocations: 4 kB / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3701, allocations: 3.984 kB / 0.7701 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3701, allocations: 0 / 0.7701 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.3702, allocations: 31.98 kB / 0.7702 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.3705, allocations: 280.7 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.3706, allocations: 30.56 kB / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.3707, allocations: 12.92 kB / 0.7705 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004532/0.3711, allocations: 0.5661 MB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.3712, allocations: 34.5 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3712, allocations: 0 / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002166/0.3714, allocations: 61.61 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.3714, allocations: 55.41 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.3715, allocations: 125.9 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.3715, allocations: 29.7 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.3716, allocations: 88.12 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.3716, allocations: 11.97 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.3716, allocations: 9.719 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.3717, allocations: 322.8 kB / 0.7717 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.3718, allocations: 15.92 kB / 0.7717 GB, free: 14.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.3718, allocations: 8 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.12e-05/0.3719, allocations: 28.91 kB / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3719, allocations: 0 / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.372, allocations: 61.52 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3721, allocations: 4 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3721, allocations: 0 / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3721, allocations: 4 kB / 0.7719 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.3722, allocations: 4 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3722, allocations: 0 / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.3722, allocations: 7.969 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3722, allocations: 11.98 kB / 0.7719 GB, free: 14.64 MB / 0.545 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.3e-05/0.3723, allocations: 109.8 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3723, allocations: 7.906 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.3725, allocations: 65.14 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3725, allocations: 0 / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3725, allocations: 0 / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3725, allocations: 4.031 kB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.3726, allocations: 169.6 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3727, allocations: 0 / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.3727, allocations: 4 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3727, allocations: 4 kB / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.3727, allocations: 3.984 kB / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3727, allocations: 3.938 kB / 0.7722 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3727, allocations: 0 / 0.7722 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3729, allocations: 151.5 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3729, allocations: 84.95 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.373, allocations: 7.984 kB / 0.7725 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.373, allocations: 8 kB / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.373, allocations: 0 / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.3731, allocations: 0 / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.3731, allocations: 95.27 kB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3731, allocations: 0 / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002197/0.3733, allocations: 11.94 kB / 0.7726 GB, free: 13.83 MB / 0.545 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.0001292/0.3735, allocations: 111.2 kB / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3736, allocations: 27.98 kB / 0.7727 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3736, allocations: 0 / 0.7727 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.983e-05/0.3737, allocations: 8 kB / 0.7727 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.3739, allocations: 0 / 0.7727 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.3741, allocations: 168.5 kB / 0.7729 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.3744, allocations: 0.6845 MB / 0.7735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.3744, allocations: 7.438 kB / 0.7735 GB, free: 12.76 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.3744, allocations: 0 / 0.7735 GB, free: 12.76 MB / 0.545 GB Notification: Performance of Templates: time 0.001776/0.3762, allocations: 0.7183 MB / 0.7743 GB, free: 12.04 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)