Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009468/0.0009465, allocations: 180.6 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 0.578 GB, free: 20.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007673/0.0007673, allocations: 91.84 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 9.75 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1914, allocations: 106.3 MB / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006568/0.192, allocations: 322.1 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002599/0.1923, allocations: 53.16 kB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.998e-06/0.1924, allocations: 3.938 kB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.1924, allocations: 4 kB / 0.9013 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.258e-06/0.1924, allocations: 0 / 0.9013 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.1926, allocations: 15.91 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.426e-05/0.1927, allocations: 0 / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.1927, allocations: 8 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.1927, allocations: 0 / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.703e-05/0.1928, allocations: 0 / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.1928, allocations: 0 / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1929, allocations: 19.98 kB / 0.9013 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.1929, allocations: 0 / 0.9013 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.193, allocations: 29.7 kB / 0.9014 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.674e-05/0.1931, allocations: 23.95 kB / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1931, allocations: 4 kB / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1931, allocations: 0 / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1931, allocations: 0 / 0.9014 GB, free: 63.21 MB / 0.6042 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.0001602/0.1933, allocations: 303.6 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1933, allocations: 12.09 kB / 0.9017 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.1933, allocations: 30.75 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.1936, allocations: 20.91 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.31e-05/0.1936, allocations: 172.2 kB / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-06/0.1936, allocations: 384 / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1936, allocations: 384 / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1938, allocations: 38.19 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1938, allocations: 7.938 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.1938, allocations: 4 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1938, allocations: 0 / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.1939, allocations: 15.98 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.256e-05/0.194, allocations: 141.7 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.769e-05/0.1941, allocations: 22.59 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.1941, allocations: 8.922 kB / 0.9021 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1941, allocations: 3.938 kB / 0.9021 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.1942, allocations: 42.55 kB / 0.9022 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1942, allocations: 4 kB / 0.9022 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001914/0.1944, allocations: 41.62 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.1944, allocations: 55.41 kB / 0.9023 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.531e-05/0.1944, allocations: 89.86 kB / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.1944, allocations: 25.7 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.247e-05/0.1944, allocations: 84.12 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1945, allocations: 0 / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.1945, allocations: 4.125 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.1945, allocations: 314.8 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.1946, allocations: 4 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.1946, allocations: 11.92 kB / 0.9028 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/0.1947, allocations: 12.84 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1947, allocations: 0 / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001054/0.1948, allocations: 45.75 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1948, allocations: 4 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1948, allocations: 3.938 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1949, allocations: 0 / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.1949, allocations: 4 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1949, allocations: 3.984 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.195, allocations: 4 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.195, allocations: 0 / 0.9029 GB, free: 61.47 MB / 0.6042 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 4.241e-05/0.195, allocations: 109.9 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.195, allocations: 7.938 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.1951, allocations: 14.98 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1951, allocations: 0 / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1951, allocations: 4 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1951, allocations: 0 / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.285e-05/0.1952, allocations: 145.7 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1952, allocations: 0 / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.1952, allocations: 7.938 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1952, allocations: 4 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1952, allocations: 7.922 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1952, allocations: 0 / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1952, allocations: 0 / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1954, allocations: 65.12 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.1954, allocations: 77.11 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.1954, allocations: 3.938 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.1954, allocations: 8.016 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.1954, allocations: 4 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1955, allocations: 0 / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.087e-05/0.1955, allocations: 79.22 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1955, allocations: 0 / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000169/0.1956, allocations: 0 / 0.9034 GB, free: 60.85 MB / 0.6042 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.0002668/0.1959, allocations: 0.6085 MB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.196, allocations: 11.98 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.196, allocations: 0 / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.1961, allocations: 7.938 kB / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.1962, allocations: 8.156 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.1965, allocations: 108.3 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.05e-05/0.1966, allocations: 0.677 MB / 0.9048 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.381e-05/0.1966, allocations: 0 / 0.9048 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.1966, allocations: 11.44 kB / 0.9048 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1966, allocations: 4 kB / 0.9048 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008102/0.2047, allocations: 0.7684 MB / 0.9055 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/0.2049, allocations: 208.9 kB / 0.9057 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/1.648, allocations: 0 / 0.9057 GB, free: 58.44 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)