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.362/1.362, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009963/0.0009963, allocations: 179.1 kB / 325.9 MB, free: 2.672 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.645/1.645, allocations: 205 MB / 0.576 GB, free: 20.96 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.0007539/0.0007539, allocations: 92.38 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002778, allocations: 10.53 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0005607/0.169, allocations: 335 kB / 0.8965 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002042/0.1692, allocations: 51.86 kB / 0.8966 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-06/0.1692, allocations: 0 / 0.8966 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.1693, allocations: 0 / 0.8966 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-06/0.1693, allocations: 0 / 0.8966 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.1694, allocations: 7.984 kB / 0.8966 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.947e-05/0.1695, allocations: 0 / 0.8966 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 2.95e-05/0.1695, allocations: 3.938 kB / 0.8966 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.226e-05/0.1695, allocations: 7.938 kB / 0.8966 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.809e-05/0.1696, allocations: 7.984 kB / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.1696, allocations: 0 / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.1697, allocations: 23.97 kB / 0.8966 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.1697, allocations: 4 kB / 0.8966 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.258e-05/0.1697, allocations: 0 / 0.8966 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.356e-05/0.1698, allocations: 8.266 kB / 0.8966 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1698, allocations: 0 / 0.8966 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1698, allocations: 0 / 0.8966 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.1698, allocations: 0 / 0.8966 GB, free: 67.61 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.0001567/0.17, allocations: 323.5 kB / 0.897 GB, free: 67.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.17, allocations: 12.03 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.019e-05/0.17, allocations: 30.75 kB / 0.897 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.1702, allocations: 20.91 kB / 0.897 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.935e-05/0.1703, allocations: 160.4 kB / 0.8972 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.1703, allocations: 384 / 0.8972 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.1703, allocations: 384 / 0.8972 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.1704, allocations: 38.23 kB / 0.8972 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1705, allocations: 7.938 kB / 0.8972 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1705, allocations: 3.938 kB / 0.8972 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1705, allocations: 0 / 0.8972 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.1706, allocations: 19.86 kB / 0.8972 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.312e-05/0.1706, allocations: 149.7 kB / 0.8974 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.1707, allocations: 26.58 kB / 0.8974 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.1708, allocations: 12.92 kB / 0.8974 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.1708, allocations: 0 / 0.8974 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.1708, allocations: 30.56 kB / 0.8974 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1708, allocations: 0 / 0.8974 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001866/0.171, allocations: 57.55 kB / 0.8975 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.171, allocations: 51.41 kB / 0.8976 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.523e-05/0.1711, allocations: 93.98 kB / 0.8976 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.1711, allocations: 25.7 kB / 0.8977 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.085e-05/0.1711, allocations: 80.14 kB / 0.8977 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1711, allocations: 4 kB / 0.8977 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.1711, allocations: 9.719 kB / 0.8978 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.1712, allocations: 311.7 kB / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.1712, allocations: 7.984 kB / 0.8981 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.1713, allocations: 4 kB / 0.8981 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.146e-05/0.1713, allocations: 20.91 kB / 0.8981 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1713, allocations: 3.938 kB / 0.8981 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.842e-05/0.1714, allocations: 45.67 kB / 0.8981 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.1715, allocations: 4 kB / 0.8981 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1715, allocations: 3.938 kB / 0.8981 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1715, allocations: 0 / 0.8981 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.1715, allocations: 4 kB / 0.8981 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.1716, allocations: 4.031 kB / 0.8981 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.1716, allocations: 0 / 0.8981 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1716, allocations: 3.984 kB / 0.8981 GB, free: 65.84 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 3.823e-05/0.1716, allocations: 109.8 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-06/0.1717, allocations: 0 / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.1717, allocations: 11.06 kB / 0.8983 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1717, allocations: 0 / 0.8983 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1717, allocations: 0 / 0.8983 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1717, allocations: 4 kB / 0.8983 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.311e-05/0.1718, allocations: 149.7 kB / 0.8984 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1718, allocations: 0 / 0.8984 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.1718, allocations: 0 / 0.8984 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1718, allocations: 7.938 kB / 0.8984 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1718, allocations: 3.938 kB / 0.8984 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1718, allocations: 3.938 kB / 0.8984 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1718, allocations: 0 / 0.8984 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1719, allocations: 73.05 kB / 0.8985 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.172, allocations: 81.11 kB / 0.8986 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.172, allocations: 3.938 kB / 0.8986 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.778e-05/0.172, allocations: 0 / 0.8986 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-06/0.172, allocations: 0 / 0.8986 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.172, allocations: 7.984 kB / 0.8986 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.008e-05/0.172, allocations: 75.28 kB / 0.8987 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1721, allocations: 0 / 0.8987 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001631/0.1722, allocations: 4.031 kB / 0.8987 GB, free: 65.21 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.0002307/0.1725, allocations: 0.6007 MB / 0.8992 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1726, allocations: 16.02 kB / 0.8993 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1726, allocations: 0 / 0.8993 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.1726, allocations: 7.984 kB / 0.8993 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.1727, allocations: 0 / 0.8993 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.173, allocations: 108.3 kB / 0.8994 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.543e-05/0.1731, allocations: 0.6731 MB / 0.9 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.1731, allocations: 12.05 kB / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.1731, allocations: 7.438 kB / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1731, allocations: 0 / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0087/0.1818, allocations: 0.7714 MB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/0.182, allocations: 212.9 kB / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.422/1.604, allocations: 0 / 0.901 GB, free: 62.81 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)