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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.847/0.847, allocations: 143.4 MB / 159.2 MB, free: 4.898 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 188.5 kB / 191.9 MB, free: 5.703 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 447.4 MB, free: 5.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001022, allocations: 107.6 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 284.7 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 83.88 kB / 0.6886 GB, free: 3.812 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3562, allocations: 81.3 MB / 0.7679 GB, free: 27.62 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002311/0.3586, allocations: 1.553 MB / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.3594, allocations: 0.6428 MB / 0.7701 GB, free: 25.42 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.3595, allocations: 4 kB / 0.7701 GB, free: 25.41 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.3595, allocations: 4 kB / 0.7701 GB, free: 25.41 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.3596, allocations: 3.938 kB / 0.7701 GB, free: 25.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.3598, allocations: 59.8 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.3599, allocations: 35.86 kB / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.36, allocations: 14.67 kB / 0.7702 GB, free: 25.3 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.597e-05/0.3601, allocations: 11.98 kB / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.3602, allocations: 27.8 kB / 0.7702 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.3602, allocations: 4 kB / 0.7702 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3603, allocations: 91.91 kB / 0.7703 GB, free: 25.17 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.3603, allocations: 11.98 kB / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.3604, allocations: 15.88 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.3605, allocations: 75.83 kB / 0.7704 GB, free: 25.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3605, allocations: 0 / 0.7704 GB, free: 25.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3605, allocations: 0 / 0.7704 GB, free: 25.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3605, allocations: 0 / 0.7704 GB, free: 25.07 MB / 458.7 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.0004031/0.3609, allocations: 370 kB / 0.7708 GB, free: 24.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.361, allocations: 8.031 kB / 0.7708 GB, free: 24.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.361, allocations: 12.84 kB / 0.7708 GB, free: 24.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.3611, allocations: 176.1 kB / 0.771 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3611, allocations: 4.375 kB / 0.771 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3611, allocations: 4.375 kB / 0.771 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3613, allocations: 53.98 kB / 0.771 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.3613, allocations: 4 kB / 0.771 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.3613, allocations: 4 kB / 0.771 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3613, allocations: 0 / 0.771 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.275e-05/0.3614, allocations: 27.98 kB / 0.7711 GB, free: 24.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.3617, allocations: 276.7 kB / 0.7713 GB, free: 24.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.563e-05/0.3618, allocations: 34.56 kB / 0.7714 GB, free: 23.96 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.3619, allocations: 12.92 kB / 0.7714 GB, free: 23.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.3622, allocations: 0.5622 MB / 0.7719 GB, free: 23.26 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.3622, allocations: 30.56 kB / 0.772 GB, free: 23.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.3622, allocations: 0 / 0.772 GB, free: 23.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002199/0.3624, allocations: 65.62 kB / 0.772 GB, free: 23.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/0.3625, allocations: 51.41 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.3625, allocations: 126 kB / 0.7722 GB, free: 22.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.3625, allocations: 25.7 kB / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.3626, allocations: 88.14 kB / 0.7723 GB, free: 22.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.3626, allocations: 3.984 kB / 0.7723 GB, free: 22.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.3626, allocations: 17.7 kB / 0.7723 GB, free: 22.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.3627, allocations: 318.8 kB / 0.7726 GB, free: 22.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.962e-05/0.3627, allocations: 11.98 kB / 0.7726 GB, free: 22.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.3628, allocations: 12 kB / 0.7726 GB, free: 22.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/0.3628, allocations: 32.78 kB / 0.7727 GB, free: 22.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3628, allocations: 0 / 0.7727 GB, free: 22.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.936e-05/0.3629, allocations: 53.59 kB / 0.7727 GB, free: 22.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.363, allocations: 11.98 kB / 0.7727 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.363, allocations: 0 / 0.7727 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.363, allocations: 0 / 0.7727 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.3631, allocations: 7.938 kB / 0.7727 GB, free: 22.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3631, allocations: 4.094 kB / 0.7727 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.3631, allocations: 7.938 kB / 0.7728 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3631, allocations: 7.922 kB / 0.7728 GB, free: 22.33 MB / 458.7 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 5.194e-05/0.3632, allocations: 113.8 kB / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3632, allocations: 7.906 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.3634, allocations: 65.14 kB / 0.7729 GB, free: 22.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3634, allocations: 0 / 0.7729 GB, free: 22.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3634, allocations: 4.031 kB / 0.7729 GB, free: 22.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3634, allocations: 4 kB / 0.773 GB, free: 22.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3635, allocations: 169.6 kB / 0.7731 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3635, allocations: 4 kB / 0.7731 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.3636, allocations: 4 kB / 0.7731 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3636, allocations: 0 / 0.7731 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3636, allocations: 3.984 kB / 0.7731 GB, free: 21.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3636, allocations: 3.984 kB / 0.7731 GB, free: 21.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3636, allocations: 0 / 0.7731 GB, free: 21.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.3639, allocations: 0.7161 MB / 0.7738 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.3639, allocations: 81.09 kB / 0.7739 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.364, allocations: 7.938 kB / 0.7739 GB, free: 21.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.364, allocations: 0 / 0.7739 GB, free: 21.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.364, allocations: 0 / 0.7739 GB, free: 21.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3641, allocations: 4 kB / 0.7739 GB, free: 21.01 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.3641, allocations: 95.3 kB / 0.774 GB, free: 20.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3641, allocations: 0 / 0.774 GB, free: 20.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000314/0.3644, allocations: 20 kB / 0.774 GB, free: 20.89 MB / 458.7 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.0001482/0.3646, allocations: 107.7 kB / 0.7741 GB, free: 20.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.3647, allocations: 19.98 kB / 0.7741 GB, free: 20.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3647, allocations: 0 / 0.7741 GB, free: 20.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.3648, allocations: 16.05 kB / 0.7742 GB, free: 20.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.365, allocations: 8.844 kB / 0.7742 GB, free: 20.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.3653, allocations: 243.2 kB / 0.7744 GB, free: 20.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.3654, allocations: 0.6887 MB / 0.7751 GB, free: 19.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.508e-05/0.3655, allocations: 8.062 kB / 0.7751 GB, free: 19.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.3655, allocations: 7.438 kB / 0.7751 GB, free: 19.73 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3655, allocations: 4 kB / 0.7751 GB, free: 19.73 MB / 458.7 MB Notification: Performance of Templates: time 0.002191/0.3677, allocations: 458.7 kB / 0.7755 GB, free: 19.28 MB / 458.7 MB 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)