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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000938/0.000938, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00635/0.00635, allocations: 171.1 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001869/0.001869, allocations: 263.2 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9426/0.9426, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004192/0.0004192, allocations: 14.41 kB / 0.5988 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.168, allocations: 88.55 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.00138/0.1694, allocations: 1.213 MB / 0.6864 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.1703, allocations: 0.6417 MB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.1704, allocations: 0 / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.1704, allocations: 3.281 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.1705, allocations: 11.92 kB / 0.6871 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1708, allocations: 59.81 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.879e-05/0.1708, allocations: 31.92 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.1709, allocations: 16.42 kB / 0.6872 GB, free: 13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.142e-05/0.171, allocations: 12.5 kB / 0.6872 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.1711, allocations: 20.42 kB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1711, allocations: 3.984 kB / 0.6872 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.1713, allocations: 97.06 kB / 0.6873 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.1713, allocations: 7.984 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.1713, allocations: 41.56 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1715, allocations: 81.98 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1715, allocations: 3.938 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1715, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1715, allocations: 0 / 0.6874 GB, free: 12.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003758/0.1719, allocations: 352.2 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1719, allocations: 12.03 kB / 0.6878 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.172, allocations: 35.94 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.172, allocations: 4.844 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.1721, allocations: 164.4 kB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1721, allocations: 6.094 kB / 0.688 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1721, allocations: 384 / 0.688 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1723, allocations: 61.8 kB / 0.688 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1723, allocations: 4.562 kB / 0.688 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1723, allocations: 0.6562 kB / 0.688 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1723, allocations: 0 / 0.688 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.1724, allocations: 38.14 kB / 0.6881 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.1727, allocations: 284.7 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.684e-05/0.1728, allocations: 32.88 kB / 0.6884 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.1729, allocations: 20.84 kB / 0.6884 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/0.1733, allocations: 0.5644 MB / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1733, allocations: 31.09 kB / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1733, allocations: 1.219 kB / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002305/0.1736, allocations: 70.42 kB / 0.689 GB, free: 10.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1736, allocations: 55.53 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.1737, allocations: 125.8 kB / 0.6892 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.1737, allocations: 25.7 kB / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.1738, allocations: 88.14 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.1738, allocations: 3.906 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.1738, allocations: 9.719 kB / 0.6893 GB, free: 10.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.1739, allocations: 330.7 kB / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.1739, allocations: 15.94 kB / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.174, allocations: 15.98 kB / 0.6897 GB, free: 10.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.1741, allocations: 28.84 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1741, allocations: 0 / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001115/0.1742, allocations: 57.75 kB / 0.6898 GB, free: 9.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1742, allocations: 4 kB / 0.6898 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1742, allocations: 0 / 0.6898 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.1742, allocations: 0 / 0.6898 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.1743, allocations: 11.98 kB / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1743, allocations: 0 / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.1744, allocations: 7.906 kB / 0.6898 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1744, allocations: 11.88 kB / 0.6898 GB, free: 9.949 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 (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.698e-05/0.1744, allocations: 118.5 kB / 0.6899 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.1745, allocations: 0 / 0.6899 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.1746, allocations: 65.2 kB / 0.69 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1746, allocations: 3.938 kB / 0.69 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1746, allocations: 4 kB / 0.69 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1746, allocations: 0 / 0.69 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1748, allocations: 165.6 kB / 0.6901 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1748, allocations: 0 / 0.6901 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.1748, allocations: 12.02 kB / 0.6901 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1749, allocations: 0 / 0.6901 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.1749, allocations: 0 / 0.6901 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1749, allocations: 0 / 0.6901 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1749, allocations: 0 / 0.6901 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.175, allocations: 171.3 kB / 0.6903 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.1751, allocations: 81.09 kB / 0.6904 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1751, allocations: 4 kB / 0.6904 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.1752, allocations: 0 / 0.6904 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.1752, allocations: 8 kB / 0.6904 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1752, allocations: 3.984 kB / 0.6904 GB, free: 9.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.283e-05/0.1752, allocations: 91.22 kB / 0.6905 GB, free: 9.137 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1753, allocations: 4 kB / 0.6905 GB, free: 9.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1755, allocations: 23.83 kB / 0.6905 GB, free: 9.109 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 (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.0004103/0.1759, allocations: 0.6929 MB / 0.6912 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.176, allocations: 28.02 kB / 0.6912 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.176, allocations: 0 / 0.6912 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.1761, allocations: 16 kB / 0.6912 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.1763, allocations: 7.875 kB / 0.6912 GB, free: 8.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1773, allocations: 1.342 MB / 0.6926 GB, free: 6.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.1776, allocations: 0.6809 MB / 0.6932 GB, free: 6.219 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.03e-05/0.1776, allocations: 0 / 0.6932 GB, free: 6.219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.1776, allocations: 19.42 kB / 0.6932 GB, free: 6.199 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1776, allocations: 0 / 0.6932 GB, free: 6.199 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2263/0.404, allocations: 1.292 MB / 0.6945 GB, free: 5.031 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.4042, allocations: 196.3 kB / 0.6947 GB, free: 4.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/1.927, allocations: 0 / 0.6947 GB, free: 4.781 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)