Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID",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.479/1.479, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001287/0.001287, allocations: 187.2 kB / 326.5 MB, free: 2.23 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.864/1.864, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009905/0.0009907, allocations: 91.81 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 9.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003269/0.2327, allocations: 3.158 MB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2347, allocations: 1.255 MB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003331/0.235, allocations: 23.88 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.878e-05/0.2351, allocations: 51.38 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005066/0.2356, allocations: 191.3 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.2365, allocations: 474 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.2372, allocations: 0.6022 MB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.2375, allocations: 254.9 kB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.2378, allocations: 298.5 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.2381, allocations: 262.4 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.2381, allocations: 20 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.2382, allocations: 20 kB / 0.9066 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.2383, allocations: 115.4 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.082e-05/0.2384, allocations: 141.2 kB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.2388, allocations: 0.6159 MB / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2388, allocations: 0 / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2388, allocations: 0 / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.2389, allocations: 0 / 0.9074 GB, free: 56.36 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001724/0.2406, allocations: 1.071 MB / 0.9085 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2406, allocations: 11.97 kB / 0.9085 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.2408, allocations: 98.44 kB / 0.9086 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.2409, allocations: 98.83 kB / 0.9087 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/0.2417, allocations: 0.5706 MB / 0.9092 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.2418, allocations: 100.4 kB / 0.9093 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.2419, allocations: 52 kB / 0.9094 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.2429, allocations: 0.6041 MB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2429, allocations: 0 / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.243, allocations: 24 kB / 0.91 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.243, allocations: 12 kB / 0.91 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009102/0.2439, allocations: 443.6 kB / 0.9104 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.2466, allocations: 2.133 MB / 0.9125 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.2478, allocations: 0.5265 MB / 0.913 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.2478, allocations: 11.94 kB / 0.913 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006631/0.2485, allocations: 290 kB / 0.9133 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 3.176e-06/0.2485, allocations: 0 / 0.9133 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001395/0.2499, allocations: 0.6308 MB / 0.9139 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.25, allocations: 88.86 kB / 0.914 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/0.2506, allocations: 0.6217 MB / 0.9146 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.2506, allocations: 34.8 kB / 0.9146 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.2508, allocations: 368.8 kB / 0.915 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.983e-05/0.2509, allocations: 149.8 kB / 0.9151 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.251, allocations: 12 kB / 0.9151 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.2511, allocations: 329.9 kB / 0.9155 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.2515, allocations: 181 kB / 0.9156 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.2519, allocations: 284.2 kB / 0.9159 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.2523, allocations: 242.4 kB / 0.9161 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2523, allocations: 4 kB / 0.9161 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001016/0.2533, allocations: 0.61 MB / 0.9167 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.2536, allocations: 0.9869 MB / 0.9177 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2536, allocations: 4 kB / 0.9177 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2536, allocations: 8 kB / 0.9177 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.2541, allocations: 111.8 kB / 0.9178 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2541, allocations: 11.98 kB / 0.9178 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.2545, allocations: 67.36 kB / 0.9179 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.2545, allocations: 27.98 kB / 0.9179 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/0.2545, allocations: 6.656 kB / 0.9179 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008196/0.2553, allocations: 0.4998 MB / 0.9184 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.2553, allocations: 4 kB / 0.9184 GB, free: 44.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.2554, allocations: 4 kB / 0.9184 GB, free: 44.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.2558, allocations: 111.8 kB / 0.9185 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2558, allocations: 4 kB / 0.9185 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.2561, allocations: 63.81 kB / 0.9186 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.2561, allocations: 16 kB / 0.9186 GB, free: 44.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002334/0.2563, allocations: 277.6 kB / 0.9189 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.2564, allocations: 79.02 kB / 0.9189 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.2566, allocations: 79.33 kB / 0.919 GB, free: 44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2566, allocations: 4 kB / 0.919 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.2566, allocations: 4 kB / 0.919 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2566, allocations: 8 kB / 0.919 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.2572, allocations: 0.618 MB / 0.9196 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2572, allocations: 0 / 0.9196 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.2576, allocations: 87.89 kB / 0.9197 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2576, allocations: 0 / 0.9197 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.2576, allocations: 15.94 kB / 0.9197 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2576, allocations: 0 / 0.9197 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2576, allocations: 0 / 0.9197 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.2589, allocations: 0.7512 MB / 0.9205 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.2591, allocations: 196 kB / 0.9207 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/0.2592, allocations: 12 kB / 0.9207 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.2596, allocations: 47.91 kB / 0.9207 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.2597, allocations: 31.95 kB / 0.9207 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.2597, allocations: 19.92 kB / 0.9208 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003904/0.2601, allocations: 431 kB / 0.9212 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2601, allocations: 4 kB / 0.9212 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005221/0.2607, allocations: 211.4 kB / 0.9214 GB, free: 41.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001464/0.2621, allocations: 1.304 MB / 0.9226 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.2635, allocations: 0.8087 MB / 0.9234 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2635, allocations: 0 / 0.9234 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.2639, allocations: 219.7 kB / 0.9236 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.2646, allocations: 184.9 kB / 0.9238 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.2669, allocations: 3.291 MB / 0.927 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.2672, allocations: 0.9378 MB / 0.928 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003718/0.2676, allocations: 93.19 kB / 0.928 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.2679, allocations: 259.3 kB / 0.9283 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2679, allocations: 0 / 0.9283 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.2914, allocations: 12.89 MB / 0.9409 GB, free: 21.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/0.2915, allocations: 183.8 kB / 0.9411 GB, free: 21.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.49, allocations: 0 / 0.9411 GB, free: 21.31 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)