Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009319/0.000932, allocations: 96.86 kB / 16.29 MB, free: 5.922 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.00097/0.00097, allocations: 180.9 kB / 17.22 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1905, allocations: 114.5 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001548/0.1921, allocations: 0.5851 MB / 0.7846 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002111/0.1923, allocations: 51.84 kB / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.1923, allocations: 0 / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.1923, allocations: 0 / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-06/0.1923, allocations: 3.938 kB / 0.7847 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.1925, allocations: 15.98 kB / 0.7847 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.434e-05/0.1926, allocations: 7.984 kB / 0.7847 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.1926, allocations: 0 / 0.7847 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.086e-05/0.1926, allocations: 4 kB / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.807e-05/0.1927, allocations: 4 kB / 0.7847 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.1927, allocations: 0 / 0.7847 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.1928, allocations: 19.97 kB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.1928, allocations: 3.938 kB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.286e-05/0.1928, allocations: 0 / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.851e-05/0.1929, allocations: 19.97 kB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1929, allocations: 0 / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.485e-06/0.1929, allocations: 0 / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1929, allocations: 3.938 kB / 0.7848 GB, free: 3.109 MB / 0.6544 GB 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.0002364/0.1931, allocations: 319.6 kB / 0.7851 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.1932, allocations: 8.031 kB / 0.7851 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.1934, allocations: 24.91 kB / 0.7851 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.49e-05/0.1935, allocations: 160.4 kB / 0.7853 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1935, allocations: 384 / 0.7853 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.1935, allocations: 4.359 kB / 0.7853 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1936, allocations: 34.25 kB / 0.7853 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1936, allocations: 8.125 kB / 0.7853 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1936, allocations: 3.938 kB / 0.7853 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.1936, allocations: 0 / 0.7853 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/0.1937, allocations: 11.98 kB / 0.7853 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.1938, allocations: 145.7 kB / 0.7855 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.316e-05/0.1939, allocations: 26.55 kB / 0.7855 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.194, allocations: 16.91 kB / 0.7855 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.194, allocations: 0 / 0.7855 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.194, allocations: 34.56 kB / 0.7855 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.194, allocations: 0 / 0.7855 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001905/0.1942, allocations: 53.55 kB / 0.7856 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.1942, allocations: 51.41 kB / 0.7856 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.442e-05/0.1943, allocations: 89.98 kB / 0.7857 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1943, allocations: 33.7 kB / 0.7858 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.1943, allocations: 88.08 kB / 0.7858 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1944, allocations: 0 / 0.7858 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.1944, allocations: 9.719 kB / 0.7859 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.1945, allocations: 310.8 kB / 0.7861 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.1945, allocations: 7.984 kB / 0.7862 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.1946, allocations: 4 kB / 0.7862 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.1946, allocations: 20.91 kB / 0.7862 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1946, allocations: 0 / 0.7862 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001091/0.1948, allocations: 49.61 kB / 0.7862 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1948, allocations: 6.5 kB / 0.7862 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.1948, allocations: 0 / 0.7862 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1948, allocations: 7.938 kB / 0.7862 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.1949, allocations: 0 / 0.7862 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1949, allocations: 4.031 kB / 0.7862 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.1949, allocations: 7.906 kB / 0.7863 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1949, allocations: 3.984 kB / 0.7863 GB, free: 1.371 MB / 0.6544 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 (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 5.395e-05/0.195, allocations: 105.8 kB / 0.7864 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.195, allocations: 0 / 0.7864 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.195, allocations: 11.06 kB / 0.7864 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.195, allocations: 0 / 0.7864 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.195, allocations: 0 / 0.7864 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.195, allocations: 4 kB / 0.7864 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.305e-05/0.1951, allocations: 150 kB / 0.7865 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1951, allocations: 0 / 0.7865 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.1952, allocations: 4 kB / 0.7865 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1952, allocations: 0 / 0.7865 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1952, allocations: 3.938 kB / 0.7865 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1952, allocations: 0 / 0.7865 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1952, allocations: 3.938 kB / 0.7865 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.1953, allocations: 73.05 kB / 0.7866 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.1953, allocations: 77.11 kB / 0.7867 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1954, allocations: 3.938 kB / 0.7867 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.877e-05/0.1954, allocations: 4 kB / 0.7867 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.1954, allocations: 4 kB / 0.7867 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1954, allocations: 3.984 kB / 0.7867 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.1954, allocations: 75.28 kB / 0.7868 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1955, allocations: 3.938 kB / 0.7868 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001609/0.1956, allocations: 4.031 kB / 0.7868 GB, free: 0.7539 MB / 0.6544 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 8.973e-05/0.1957, allocations: 103.2 kB / 0.7869 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1958, allocations: 11.98 kB / 0.7869 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1958, allocations: 0 / 0.7869 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.1959, allocations: 7.938 kB / 0.7869 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.196, allocations: 3.984 kB / 0.7869 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.1962, allocations: 81.19 kB / 0.787 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2951/0.4913, allocations: 0.6729 MB / 0.7876 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.4914, allocations: 1.172 kB / 0.7876 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.4914, allocations: 7.438 kB / 0.7876 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of SimCode: time 1.122e-06/0.4914, allocations: 0 / 0.7876 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.001677/0.4931, allocations: 217.5 kB / 0.7878 GB, free: 47.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)