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.001061/0.001061, 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.001059/0.00106, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002108, allocations: 284.5 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9341/0.9341, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 93.72 kB / 0.5945 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1511, allocations: 86.98 MB / 0.6794 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001546/0.1527, allocations: 0.6377 MB / 0.6801 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1541, allocations: 1.259 MB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.003e-05/0.1541, allocations: 0 / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.1541, allocations: 4.812 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.448e-06/0.1541, allocations: 7.938 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.1544, allocations: 44.61 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.722e-05/0.1544, allocations: 0.5938 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.075e-05/0.1545, allocations: 0 / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.3e-05/0.1545, allocations: 5.469 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.1545, allocations: 3.984 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.1545, allocations: 0 / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.1547, allocations: 99.89 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.1548, allocations: 4 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.1548, allocations: 0 / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1549, allocations: 51.94 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1549, allocations: 3.938 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1549, allocations: 0 / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.766e-06/0.1549, allocations: 0 / 0.6815 GB, free: 15.09 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.0002542/0.1552, allocations: 323.6 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.1552, allocations: 8.031 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.1552, allocations: 0.9375 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.695e-05/0.1553, allocations: 172.3 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-06/0.1553, allocations: 384 / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.1553, allocations: 384 / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.377e-05/0.1554, allocations: 38.02 kB / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-06/0.1554, allocations: 0 / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.1554, allocations: 0 / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1554, allocations: 0 / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.1555, allocations: 4 kB / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.1556, allocations: 141.7 kB / 0.6822 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.443e-05/0.1556, allocations: 26.5 kB / 0.6822 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.1557, allocations: 12.95 kB / 0.6822 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.1562, allocations: 0.5544 MB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1562, allocations: 34.5 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1562, allocations: 0 / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.1563, allocations: 49.62 kB / 0.6828 GB, free: 13.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.1564, allocations: 51.41 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.955e-05/0.1564, allocations: 89.86 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1564, allocations: 25.7 kB / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.1564, allocations: 84.12 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.1565, allocations: 4.219 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1565, allocations: 13.72 kB / 0.6831 GB, free: 13.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1566, allocations: 315 kB / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/0.1566, allocations: 0 / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.1566, allocations: 3.984 kB / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.1567, allocations: 12.86 kB / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1567, allocations: 3.938 kB / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.005e-05/0.1567, allocations: 37.64 kB / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1568, allocations: 7.938 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1568, allocations: 0 / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.1568, allocations: 0 / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.1568, allocations: 12.09 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1568, allocations: 3.984 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.1568, allocations: 0 / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.1569, allocations: 0 / 0.6835 GB, free: 12.74 MB / 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 6.445e-05/0.1569, allocations: 111.1 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.1569, allocations: 3.938 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.715e-05/0.157, allocations: 52.67 kB / 0.6836 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.157, allocations: 0 / 0.6836 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.157, allocations: 0 / 0.6836 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.157, allocations: 0 / 0.6836 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/0.1571, allocations: 145.7 kB / 0.6838 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1571, allocations: 3.938 kB / 0.6838 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.1572, allocations: 4 kB / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1572, allocations: 3.938 kB / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.1572, allocations: 0 / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1572, allocations: 0 / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1572, allocations: 0 / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.56e-05/0.1573, allocations: 65.16 kB / 0.6838 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.1573, allocations: 77.11 kB / 0.6839 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.1573, allocations: 3.938 kB / 0.6839 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.1573, allocations: 0 / 0.6839 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.1573, allocations: 7.984 kB / 0.6839 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.1574, allocations: 0 / 0.6839 GB, free: 12.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.948e-05/0.1574, allocations: 75.28 kB / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1574, allocations: 4.031 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001829/0.1576, allocations: 8 kB / 0.684 GB, free: 12.09 MB / 494.1 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 (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.000151/0.1577, allocations: 107.2 kB / 0.6841 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.1578, allocations: 11.94 kB / 0.6841 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1578, allocations: 0 / 0.6841 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-06/0.1578, allocations: 4 kB / 0.6841 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.1579, allocations: 2.391 kB / 0.6841 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001629/0.1581, allocations: 82.83 kB / 0.6842 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1583, allocations: 0.6731 MB / 0.6849 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.029e-05/0.1584, allocations: 0 / 0.6849 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/0.1584, allocations: 7.438 kB / 0.6849 GB, free: 11.14 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1584, allocations: 0 / 0.6849 GB, free: 11.14 MB / 494.1 MB Notification: Performance of Templates: time 0.002012/0.1604, allocations: 308.4 kB / 0.6852 GB, free: 10.84 MB / 494.1 MB 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)