Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.25/1.25, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001036/0.001036, allocations: 186.6 kB / 325.9 MB, free: 2.695 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.361/1.361, allocations: 205 MB / 0.576 GB, free: 20.97 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.000675/0.0006749, allocations: 92.06 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003137, allocations: 12.81 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1636, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002108/0.1657, allocations: 2.513 MB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1668, allocations: 0.8894 MB / 0.8995 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.167, allocations: 11.94 kB / 0.8996 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.1672, allocations: 75.38 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1675, allocations: 47.66 kB / 0.8997 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1677, allocations: 155.8 kB / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.168, allocations: 484.8 kB / 0.9003 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.1683, allocations: 263.5 kB / 0.9005 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.1683, allocations: 115.2 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.1685, allocations: 147 kB / 0.9008 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.1685, allocations: 12 kB / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.574e-05/0.1685, allocations: 12 kB / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.1686, allocations: 63.58 kB / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.1686, allocations: 162.8 kB / 0.901 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.1689, allocations: 0.5447 MB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1689, allocations: 0 / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1689, allocations: 0 / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.169, allocations: 0 / 0.9016 GB, free: 62.55 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008021/0.1698, allocations: 0.7056 MB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1698, allocations: 8.031 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.1699, allocations: 74.72 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.1699, allocations: 56.28 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1703, allocations: 384.7 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1703, allocations: 29.38 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.1704, allocations: 48.28 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.1709, allocations: 434.5 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1709, allocations: 0 / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.1709, allocations: 16 kB / 0.9033 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1709, allocations: 8 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.1714, allocations: 307.7 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.1728, allocations: 1.703 MB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.1734, allocations: 290.9 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.1736, allocations: 140.7 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1736, allocations: 0 / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.1737, allocations: 38.56 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.173e-06/0.1737, allocations: 0 / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0005664/0.1742, allocations: 327.5 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.1743, allocations: 114.8 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.1746, allocations: 437.9 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1746, allocations: 29.7 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1747, allocations: 259.7 kB / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1748, allocations: 78.98 kB / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.1748, allocations: 33.7 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.1749, allocations: 346.8 kB / 0.9072 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1751, allocations: 115.9 kB / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1753, allocations: 201.1 kB / 0.9075 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.1757, allocations: 260 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1757, allocations: 0 / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004829/0.1762, allocations: 374.7 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.1762, allocations: 142.2 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1762, allocations: 0 / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1762, allocations: 8 kB / 0.9083 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.1765, allocations: 67.91 kB / 0.9083 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1765, allocations: 4 kB / 0.9083 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.1767, allocations: 67.44 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1767, allocations: 12 kB / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.1767, allocations: 4 kB / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002684/0.177, allocations: 240.9 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.177, allocations: 3.984 kB / 0.9086 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/0.177, allocations: 4 kB / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.1772, allocations: 51.92 kB / 0.9087 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.1772, allocations: 7.984 kB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.1773, allocations: 51.77 kB / 0.9088 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1774, allocations: 8 kB / 0.9088 GB, free: 54.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 0.000122/0.1775, allocations: 233.1 kB / 0.909 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.1775, allocations: 43.44 kB / 0.909 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.1776, allocations: 43.78 kB / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1776, allocations: 0 / 0.9091 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1776, allocations: 3.938 kB / 0.9091 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1776, allocations: 4 kB / 0.9091 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008307/0.1785, allocations: 0.766 MB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1785, allocations: 7.938 kB / 0.9098 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.1786, allocations: 43.98 kB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1787, allocations: 11.92 kB / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1787, allocations: 0 / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1787, allocations: 4 kB / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1787, allocations: 3.938 kB / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.1792, allocations: 475.5 kB / 0.9103 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.1793, allocations: 128.5 kB / 0.9105 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.1793, allocations: 4 kB / 0.9105 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1795, allocations: 23.98 kB / 0.9105 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.1795, allocations: 16.12 kB / 0.9105 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1796, allocations: 4 kB / 0.9105 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002255/0.1798, allocations: 311.1 kB / 0.9108 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.72e-07/0.1798, allocations: 0 / 0.9108 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003784/0.1802, allocations: 131.5 kB / 0.9109 GB, free: 52.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0007131/0.1809, allocations: 1.023 MB / 0.9119 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005329/0.1814, allocations: 385.4 kB / 0.9123 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1815, allocations: 0 / 0.9123 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.1816, allocations: 110.5 kB / 0.9124 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.1822, allocations: 97 kB / 0.9125 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.1858, allocations: 3.778 MB / 0.9162 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.186, allocations: 0.8116 MB / 0.917 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.1861, allocations: 43.25 kB / 0.917 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1863, allocations: 147.4 kB / 0.9172 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.1863, allocations: 0 / 0.9172 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/0.3035, allocations: 7.041 MB / 0.924 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.3037, allocations: 233.8 kB / 0.9243 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.393, allocations: 4 kB / 0.9243 GB, free: 38.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)