Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00139/0.00139, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 278.8 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5069 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 105 kB / 0.6059 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1538, allocations: 89.15 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00176/0.1557, allocations: 0.6448 MB / 0.6936 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1572, allocations: 1.256 MB / 0.6948 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.267e-05/0.1573, allocations: 0 / 0.6948 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1573, allocations: 0 / 0.6948 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.1573, allocations: 0.6562 kB / 0.6948 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1577, allocations: 59.88 kB / 0.6949 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.342e-05/0.1577, allocations: 3.984 kB / 0.6949 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1578, allocations: 4 kB / 0.6949 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.1578, allocations: 0 / 0.6949 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.588e-05/0.1578, allocations: 3.938 kB / 0.6949 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.1578, allocations: 0 / 0.6949 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.1581, allocations: 103.8 kB / 0.695 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.1581, allocations: 0 / 0.695 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.1581, allocations: 0 / 0.695 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.1583, allocations: 55.92 kB / 0.6951 GB, free: 2.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1583, allocations: 4 kB / 0.6951 GB, free: 2.562 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1583, allocations: 0 / 0.6951 GB, free: 2.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1583, allocations: 0 / 0.6951 GB, free: 2.562 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003333/0.1586, allocations: 323.6 kB / 0.6954 GB, free: 2.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1587, allocations: 8.031 kB / 0.6954 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.1587, allocations: 0.9375 kB / 0.6954 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1588, allocations: 164.4 kB / 0.6955 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1588, allocations: 384 / 0.6955 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1589, allocations: 384 / 0.6955 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.973e-05/0.1589, allocations: 34.02 kB / 0.6956 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.159, allocations: 3.938 kB / 0.6956 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.159, allocations: 4 kB / 0.6956 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.159, allocations: 4 kB / 0.6956 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.159, allocations: 3.938 kB / 0.6956 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.1592, allocations: 145.7 kB / 0.6957 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.019e-05/0.1592, allocations: 18.61 kB / 0.6958 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.1592, allocations: 4.859 kB / 0.6958 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.1599, allocations: 0.5662 MB / 0.6963 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1599, allocations: 42.44 kB / 0.6963 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1599, allocations: 0 / 0.6963 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001208/0.16, allocations: 33.64 kB / 0.6964 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.1601, allocations: 55.41 kB / 0.6964 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.483e-05/0.1601, allocations: 93.98 kB / 0.6965 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1602, allocations: 25.7 kB / 0.6965 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.1602, allocations: 80.14 kB / 0.6966 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1602, allocations: 7.906 kB / 0.6966 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1603, allocations: 13.7 kB / 0.6966 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1604, allocations: 310.8 kB / 0.6969 GB, free: 312 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-06/0.1604, allocations: 0 / 0.6969 GB, free: 312 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.1604, allocations: 4 kB / 0.6969 GB, free: 308 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.1605, allocations: 16.92 kB / 0.697 GB, free: 288 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1605, allocations: 0 / 0.697 GB, free: 288 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.62e-05/0.1606, allocations: 33.64 kB / 0.697 GB, free: 248 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1606, allocations: 7.938 kB / 0.697 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1606, allocations: 3.984 kB / 0.697 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1606, allocations: 0 / 0.697 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.522e-05/0.1606, allocations: 4 kB / 0.697 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1607, allocations: 0 / 0.697 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.1607, allocations: 288 / 0.697 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1607, allocations: 4.031 kB / 0.697 GB, free: 228 kB / 494.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 (1): * Single equations (assignments): 1 * 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.272e-05/0.1608, allocations: 109.8 kB / 0.6971 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.1608, allocations: 3.938 kB / 0.6971 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.1609, allocations: 48.69 kB / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1609, allocations: 0 / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1609, allocations: 0 / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1609, allocations: 0 / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.161, allocations: 149.7 kB / 0.6973 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.161, allocations: 0 / 0.6973 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.1611, allocations: 4 kB / 0.6973 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1611, allocations: 3.938 kB / 0.6973 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1611, allocations: 7.984 kB / 0.6973 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1611, allocations: 0 / 0.6973 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1611, allocations: 7.922 kB / 0.6973 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.512e-05/0.1612, allocations: 53.14 kB / 0.6974 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.1612, allocations: 89.08 kB / 0.6975 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.1613, allocations: 3.938 kB / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.1613, allocations: 3.984 kB / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-06/0.1613, allocations: 0 / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.1613, allocations: 0 / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.1613, allocations: 75.28 kB / 0.6975 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1613, allocations: 3.938 kB / 0.6976 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001825/0.1615, allocations: 8 kB / 0.6976 GB, free: 15.56 MB / 0.4981 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 (1): * Single equations (assignments): 1 * 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.0001742/0.1617, allocations: 112.7 kB / 0.6977 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.855e-05/0.1618, allocations: 11.98 kB / 0.6977 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1618, allocations: 0 / 0.6977 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.1618, allocations: 0 / 0.6977 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1619, allocations: 5.719 kB / 0.6977 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001535/0.1621, allocations: 69.08 kB / 0.6978 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1624, allocations: 0.669 MB / 0.6984 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.1624, allocations: 8.125 kB / 0.6984 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.1625, allocations: 7.438 kB / 0.6984 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1625, allocations: 0 / 0.6984 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.002404/0.1649, allocations: 308.4 kB / 0.6987 GB, free: 14.32 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)