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.415/1.415, 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.00108/0.00108, allocations: 167.4 kB / 327 MB, free: 2.109 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.783/1.783, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0008932/0.0008931, allocations: 100.7 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003474, allocations: 12.31 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2001, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002405/0.2025, allocations: 2.438 MB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2038, allocations: 0.8894 MB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.204, allocations: 11.94 kB / 0.9042 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.2042, allocations: 67.38 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.2045, allocations: 47.66 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.2048, allocations: 151.8 kB / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.2051, allocations: 484.8 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.2054, allocations: 259.3 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.2055, allocations: 115.1 kB / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.2057, allocations: 146.9 kB / 0.9054 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.2057, allocations: 12 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.2057, allocations: 12 kB / 0.9054 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.2058, allocations: 63.58 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.2059, allocations: 192.4 kB / 0.9057 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.2062, allocations: 0.5411 MB / 0.9062 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2062, allocations: 0 / 0.9062 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2062, allocations: 0 / 0.9062 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2062, allocations: 3.938 kB / 0.9062 GB, free: 57.91 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.0008972/0.2071, allocations: 0.7095 MB / 0.9069 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2072, allocations: 8.031 kB / 0.9069 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.2073, allocations: 74.72 kB / 0.907 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.2073, allocations: 56.28 kB / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.2077, allocations: 380.7 kB / 0.9074 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2078, allocations: 29.38 kB / 0.9074 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.2078, allocations: 40.28 kB / 0.9075 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.2084, allocations: 434.5 kB / 0.9079 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2084, allocations: 7.938 kB / 0.9079 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.2084, allocations: 16 kB / 0.9079 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2084, allocations: 12 kB / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.209, allocations: 299.8 kB / 0.9082 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.2106, allocations: 1.707 MB / 0.9099 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.2112, allocations: 304.1 kB / 0.9102 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.2114, allocations: 131 kB / 0.9103 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.2115, allocations: 4 kB / 0.9103 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2115, allocations: 38.56 kB / 0.9103 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.2115, allocations: 0 / 0.9103 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0006297/0.2121, allocations: 324.9 kB / 0.9106 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.2122, allocations: 114.8 kB / 0.9107 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.2126, allocations: 437.8 kB / 0.9112 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2126, allocations: 33.7 kB / 0.9112 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.2128, allocations: 259.8 kB / 0.9114 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.2128, allocations: 75 kB / 0.9115 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.2128, allocations: 8 kB / 0.9115 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.2129, allocations: 346.8 kB / 0.9118 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.2131, allocations: 111.9 kB / 0.912 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.2133, allocations: 193.1 kB / 0.9121 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.2137, allocations: 287.1 kB / 0.9124 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2137, allocations: 0 / 0.9124 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005085/0.2143, allocations: 370.8 kB / 0.9128 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.2143, allocations: 142.2 kB / 0.9129 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2143, allocations: 0 / 0.9129 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2144, allocations: 4 kB / 0.9129 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.2146, allocations: 71.91 kB / 0.913 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2146, allocations: 4 kB / 0.913 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.2148, allocations: 63.5 kB / 0.913 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.2149, allocations: 12 kB / 0.913 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.2149, allocations: 4 kB / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000284/0.2152, allocations: 239.8 kB / 0.9133 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.2152, allocations: 7.922 kB / 0.9133 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/0.2152, allocations: 4 kB / 0.9133 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.2154, allocations: 59.86 kB / 0.9134 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2154, allocations: 4 kB / 0.9134 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.2155, allocations: 43.61 kB / 0.9134 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2156, allocations: 8 kB / 0.9134 GB, free: 50.18 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.0001615/0.2157, allocations: 237.2 kB / 0.9136 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.2158, allocations: 43.44 kB / 0.9137 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.069e-05/0.2159, allocations: 47.78 kB / 0.9137 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2159, allocations: 0 / 0.9137 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2159, allocations: 3.938 kB / 0.9137 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2159, allocations: 4 kB / 0.9137 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009252/0.2168, allocations: 0.7602 MB / 0.9145 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2168, allocations: 7.922 kB / 0.9145 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.217, allocations: 48.08 kB / 0.9145 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.217, allocations: 3.984 kB / 0.9145 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.2171, allocations: 4 kB / 0.9145 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2171, allocations: 4 kB / 0.9145 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2171, allocations: 0 / 0.9145 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.2177, allocations: 481.2 kB / 0.915 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.2178, allocations: 132.5 kB / 0.9151 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.2178, allocations: 4 kB / 0.9151 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.218, allocations: 23.98 kB / 0.9151 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.218, allocations: 19.98 kB / 0.9152 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.218, allocations: 7.938 kB / 0.9152 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002593/0.2183, allocations: 311.1 kB / 0.9155 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2183, allocations: 0 / 0.9155 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004082/0.2187, allocations: 123.6 kB / 0.9156 GB, free: 47.83 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.0008326/0.2195, allocations: 1.029 MB / 0.9166 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006276/0.2202, allocations: 373.1 kB / 0.9169 GB, free: 46.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2202, allocations: 0 / 0.9169 GB, free: 46.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.2204, allocations: 112.6 kB / 0.9171 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.2211, allocations: 92.62 kB / 0.9171 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.2251, allocations: 3.787 MB / 0.9208 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.2253, allocations: 0.8116 MB / 0.9216 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.2255, allocations: 47.25 kB / 0.9217 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.2256, allocations: 151.4 kB / 0.9218 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of SimCode: time 4.3e-07/0.2256, allocations: 0 / 0.9218 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.2423, allocations: 7.034 MB / 0.9287 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.2426, allocations: 229 kB / 0.9289 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.476, allocations: 2.344 kB / 0.9289 GB, free: 34.18 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)