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.576/1.576, allocations: 252 MB / 267 MB, free: 10.98 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.0009593/0.0009591, allocations: 174.8 kB / 326.6 MB, free: 2.215 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.588/1.588, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007977/0.0007977, allocations: 90.81 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 12.88 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1696, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006294/0.1703, allocations: 322.1 kB / 0.9006 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002021/0.1705, allocations: 49.2 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.101e-05/0.1705, allocations: 3.938 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.858e-06/0.1705, allocations: 0 / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.1706, allocations: 0 / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.1707, allocations: 11.98 kB / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.134e-05/0.1708, allocations: 0 / 0.9007 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.1708, allocations: 4 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.289e-05/0.1708, allocations: 7.938 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.1709, allocations: 0 / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.1709, allocations: 0 / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.171, allocations: 19.97 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.833e-06/0.171, allocations: 7.984 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.171, allocations: 25.7 kB / 0.9008 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.355e-05/0.1711, allocations: 7.984 kB / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1711, allocations: 0 / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1711, allocations: 0 / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.1711, allocations: 0 / 0.9008 GB, free: 63.34 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.0001628/0.1713, allocations: 319.4 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1713, allocations: 8.031 kB / 0.9011 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.99e-05/0.1713, allocations: 30.56 kB / 0.9011 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.1716, allocations: 15.97 kB / 0.9011 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.234e-05/0.1716, allocations: 167 kB / 0.9013 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1716, allocations: 4 kB / 0.9013 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1716, allocations: 0 / 0.9013 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1718, allocations: 37.69 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.1718, allocations: 3.938 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1718, allocations: 0 / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1718, allocations: 3.938 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.1719, allocations: 7.984 kB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.866e-05/0.172, allocations: 153.6 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.172, allocations: 26.59 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.1721, allocations: 4.922 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1721, allocations: 4 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.1721, allocations: 30.56 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.1721, allocations: 0 / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.1723, allocations: 57.55 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.1724, allocations: 55.53 kB / 0.9016 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.653e-05/0.1724, allocations: 89.86 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.1724, allocations: 25.7 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.022e-05/0.1724, allocations: 80.14 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1725, allocations: 0 / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.1725, allocations: 0 / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.1725, allocations: 314.8 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.161e-05/0.1726, allocations: 4 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.1726, allocations: 11.98 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.1727, allocations: 7.953 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1727, allocations: 0 / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.1728, allocations: 45.62 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1728, allocations: 8 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1728, allocations: 0 / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1728, allocations: 0 / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.1729, allocations: 8.078 kB / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1729, allocations: 4 kB / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.1729, allocations: 0 / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1729, allocations: 4 kB / 0.9022 GB, free: 61.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.173, allocations: 109.8 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-06/0.173, allocations: 7.984 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.173, allocations: 7.109 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.173, allocations: 0 / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1731, allocations: 4 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1731, allocations: 0 / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.488e-05/0.1731, allocations: 141.7 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1731, allocations: 3.953 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.1732, allocations: 7.984 kB / 0.9025 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1732, allocations: 0 / 0.9025 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.1732, allocations: 0 / 0.9025 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1732, allocations: 4 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1732, allocations: 0 / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.1733, allocations: 73.05 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.1733, allocations: 85 kB / 0.9026 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.1733, allocations: 4 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/0.1734, allocations: 3.938 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.1734, allocations: 0 / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1734, allocations: 0 / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.131e-05/0.1734, allocations: 75.28 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1734, allocations: 32 / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001728/0.1736, allocations: 12 kB / 0.9027 GB, free: 60.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002514/0.1739, allocations: 0.6085 MB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.174, allocations: 16.02 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.174, allocations: 0 / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.174, allocations: 7.984 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.1742, allocations: 1.375 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.1744, allocations: 104.3 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.1745, allocations: 0.6692 MB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.1746, allocations: 8.125 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.1746, allocations: 7.438 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/0.1746, allocations: 0 / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009666/0.1843, allocations: 0.7775 MB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001158/0.1844, allocations: 207.2 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.694, allocations: 0 / 0.9051 GB, free: 58.59 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)