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.001328/0.001328, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0013/0.0013, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.49/1.49, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002583/0.002584, allocations: 294.5 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002828/0.002828, allocations: 99.38 kB / 0.6057 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1847, allocations: 89.15 MB / 0.6928 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002935/0.1877, allocations: 1.567 MB / 0.6943 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1889, allocations: 0.6522 MB / 0.695 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.1889, allocations: 0 / 0.695 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.189, allocations: 9.203 kB / 0.695 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.189, allocations: 7.938 kB / 0.695 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1893, allocations: 48.55 kB / 0.695 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.1894, allocations: 39.92 kB / 0.6951 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1895, allocations: 12.27 kB / 0.6951 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.1896, allocations: 19.86 kB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.1896, allocations: 19.86 kB / 0.6951 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1897, allocations: 4 kB / 0.6951 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.1899, allocations: 103.9 kB / 0.6952 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.1899, allocations: 0 / 0.6952 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.1899, allocations: 15.88 kB / 0.6952 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1901, allocations: 95.77 kB / 0.6953 GB, free: 2.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1901, allocations: 0 / 0.6953 GB, free: 2.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1901, allocations: 0 / 0.6953 GB, free: 2.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1901, allocations: 0 / 0.6953 GB, free: 2.266 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.0005142/0.1907, allocations: 355.3 kB / 0.6957 GB, free: 1.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1907, allocations: 12.03 kB / 0.6957 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.1907, allocations: 4.938 kB / 0.6957 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1909, allocations: 172.3 kB / 0.6958 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1909, allocations: 4.375 kB / 0.6958 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1909, allocations: 4.375 kB / 0.6958 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1911, allocations: 57.94 kB / 0.6959 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1911, allocations: 0 / 0.6959 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1911, allocations: 7.938 kB / 0.6959 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1911, allocations: 4 kB / 0.6959 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1913, allocations: 35.95 kB / 0.6959 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1917, allocations: 276.7 kB / 0.6962 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.772e-05/0.1918, allocations: 34.52 kB / 0.6962 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.1918, allocations: 16.91 kB / 0.6963 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005426/0.1924, allocations: 0.5544 MB / 0.6968 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1924, allocations: 42.55 kB / 0.6968 GB, free: 424 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1924, allocations: 3.938 kB / 0.6968 GB, free: 420 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002539/0.1927, allocations: 61.62 kB / 0.6969 GB, free: 352 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.1927, allocations: 51.41 kB / 0.6969 GB, free: 288 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1928, allocations: 121.8 kB / 0.6971 GB, free: 156 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1929, allocations: 25.7 kB / 0.6971 GB, free: 124 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.1929, allocations: 96.05 kB / 0.6972 GB, free: 24 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.193, allocations: 0 / 0.6972 GB, free: 24 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.193, allocations: 21.83 kB / 0.6972 GB, free: 16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1932, allocations: 318.8 kB / 0.6975 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.1932, allocations: 7.984 kB / 0.6975 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.1932, allocations: 12 kB / 0.6975 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.232e-05/0.1933, allocations: 24.84 kB / 0.6975 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1933, allocations: 0 / 0.6975 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001241/0.1935, allocations: 61.59 kB / 0.6976 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1935, allocations: 8 kB / 0.6976 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1935, allocations: 0 / 0.6976 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1935, allocations: 0 / 0.6976 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.1936, allocations: 7.984 kB / 0.6976 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1936, allocations: 0 / 0.6976 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.1937, allocations: 4 kB / 0.6976 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1937, allocations: 0 / 0.6976 GB, free: 15.54 MB / 0.4981 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 8.601e-05/0.1938, allocations: 118.5 kB / 0.6977 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1938, allocations: 11.89 kB / 0.6978 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.194, allocations: 61.2 kB / 0.6978 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.194, allocations: 0 / 0.6978 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.194, allocations: 11.88 kB / 0.6978 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.194, allocations: 0 / 0.6978 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1942, allocations: 165.6 kB / 0.698 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1942, allocations: 0 / 0.698 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.1942, allocations: 4 kB / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1943, allocations: 4.031 kB / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1943, allocations: 0 / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1943, allocations: 0 / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1943, allocations: 0 / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1945, allocations: 155.5 kB / 0.6981 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.1945, allocations: 81.02 kB / 0.6982 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1945, allocations: 0 / 0.6982 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.1946, allocations: 16.02 kB / 0.6982 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1947, allocations: 7.984 kB / 0.6982 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1947, allocations: 0 / 0.6982 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.026e-05/0.1947, allocations: 95.27 kB / 0.6983 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.953e-06/0.1947, allocations: 0 / 0.6983 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002251/0.195, allocations: 23.81 kB / 0.6983 GB, free: 14.7 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 (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.0001621/0.1951, allocations: 105.6 kB / 0.6984 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1953, allocations: 27.97 kB / 0.6985 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1953, allocations: 0 / 0.6985 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.1953, allocations: 12 kB / 0.6985 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.1956, allocations: 6.172 kB / 0.6985 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.1959, allocations: 152.3 kB / 0.6986 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1962, allocations: 0.685 MB / 0.6993 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.1962, allocations: 4 kB / 0.6993 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.1963, allocations: 7.438 kB / 0.6993 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1963, allocations: 0 / 0.6993 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.002861/0.1991, allocations: 456.6 kB / 0.6998 GB, free: 13.21 MB / 0.4981 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)