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.513/1.513, allocations: 252 MB / 267 MB, free: 10.96 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.001037/0.001037, allocations: 177.6 kB / 326.6 MB, free: 2.219 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.863/1.863, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0008001/0.0008002, allocations: 83.98 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 13.56 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2173, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.00251/0.2199, allocations: 2.308 MB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2213, allocations: 0.8702 MB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.2216, allocations: 15.94 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.2219, allocations: 59.38 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.2221, allocations: 47.66 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.2223, allocations: 107.8 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.2226, allocations: 457 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.2229, allocations: 179.2 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.223, allocations: 115.3 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2231, allocations: 127.1 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.2232, allocations: 19.92 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.914e-05/0.2232, allocations: 12 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.2232, allocations: 63.64 kB / 0.9046 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.2233, allocations: 93.45 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.2236, allocations: 459.1 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2236, allocations: 0 / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2236, allocations: 3.938 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.2236, allocations: 0 / 0.9051 GB, free: 58.84 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.001028/0.2246, allocations: 0.7132 MB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2247, allocations: 8.031 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.2248, allocations: 78.52 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.2248, allocations: 59.3 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.2252, allocations: 367.7 kB / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2253, allocations: 29 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.2253, allocations: 36 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.2259, allocations: 426.4 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2259, allocations: 4 kB / 0.9068 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.226, allocations: 16 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.226, allocations: 8 kB / 0.9068 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.2265, allocations: 303.8 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.2282, allocations: 1.711 MB / 0.9088 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.2288, allocations: 296.1 kB / 0.909 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.229, allocations: 123.4 kB / 0.9092 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.2291, allocations: 11.98 kB / 0.9092 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.2291, allocations: 34.56 kB / 0.9092 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/0.2291, allocations: 0 / 0.9092 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0006249/0.2297, allocations: 321 kB / 0.9095 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2298, allocations: 114.8 kB / 0.9096 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.2302, allocations: 437.8 kB / 0.91 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2302, allocations: 29.7 kB / 0.9101 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2303, allocations: 259.9 kB / 0.9103 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.2304, allocations: 74.89 kB / 0.9104 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.2304, allocations: 11.94 kB / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.2305, allocations: 354.8 kB / 0.9107 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.2307, allocations: 103.9 kB / 0.9108 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.2309, allocations: 193.4 kB / 0.911 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.2311, allocations: 132 kB / 0.9111 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2311, allocations: 0 / 0.9111 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005245/0.2317, allocations: 365.1 kB / 0.9115 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/0.2317, allocations: 139.9 kB / 0.9116 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.2317, allocations: 4 kB / 0.9116 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2318, allocations: 7.984 kB / 0.9116 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.232, allocations: 71.91 kB / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2321, allocations: 3.953 kB / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.2323, allocations: 63.5 kB / 0.9118 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.2323, allocations: 12 kB / 0.9118 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-06/0.2323, allocations: 4 kB / 0.9118 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002798/0.2326, allocations: 234.8 kB / 0.912 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.2326, allocations: 7.938 kB / 0.912 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.2326, allocations: 4 kB / 0.912 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.2328, allocations: 55.91 kB / 0.9121 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.2328, allocations: 4 kB / 0.9121 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.233, allocations: 47.83 kB / 0.9121 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.233, allocations: 8 kB / 0.9121 GB, free: 51.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.2332, allocations: 233.1 kB / 0.9123 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.2332, allocations: 47.39 kB / 0.9124 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.2333, allocations: 39.8 kB / 0.9124 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2333, allocations: 4 kB / 0.9124 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2333, allocations: 3.984 kB / 0.9124 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2333, allocations: 0 / 0.9124 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008907/0.2342, allocations: 0.7724 MB / 0.9132 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2342, allocations: 0 / 0.9132 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.2344, allocations: 47.97 kB / 0.9132 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2344, allocations: 4 kB / 0.9132 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.2345, allocations: 0 / 0.9132 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2345, allocations: 4 kB / 0.9132 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2345, allocations: 3.984 kB / 0.9132 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.2351, allocations: 479.5 kB / 0.9137 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.2351, allocations: 124.6 kB / 0.9138 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.2352, allocations: 8.125 kB / 0.9138 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2354, allocations: 23.98 kB / 0.9139 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.2354, allocations: 19.97 kB / 0.9139 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.2354, allocations: 4 kB / 0.9139 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002438/0.2357, allocations: 307.1 kB / 0.9142 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2357, allocations: 3.938 kB / 0.9142 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004158/0.2361, allocations: 127.5 kB / 0.9143 GB, free: 48.98 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 (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.0008162/0.2369, allocations: 1.02 MB / 0.9153 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005928/0.2375, allocations: 378.1 kB / 0.9157 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2375, allocations: 0 / 0.9157 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2377, allocations: 107.8 kB / 0.9158 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.2383, allocations: 93.89 kB / 0.9158 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.2412, allocations: 2.308 MB / 0.9181 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.2414, allocations: 0.8155 MB / 0.9189 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.2416, allocations: 43.27 kB / 0.9189 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.2417, allocations: 147.4 kB / 0.9191 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2418, allocations: 3.938 kB / 0.9191 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.2597, allocations: 7.33 MB / 0.9262 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.26, allocations: 211.1 kB / 0.9264 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/2.536, allocations: 0 / 0.9264 GB, free: 36.59 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)