Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.485/1.485, allocations: 252 MB / 268 MB, free: 10.87 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.0009897/0.0009897, allocations: 182.5 kB / 327.6 MB, free: 2.09 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.551/1.551, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0008006/0.0008007, allocations: 96.02 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 12.09 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2207, allocations: 106.3 MB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003599/0.2244, allocations: 3.736 MB / 0.9051 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2263, allocations: 1.325 MB / 0.9064 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.2266, allocations: 23.88 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.2268, allocations: 95.2 kB / 0.9065 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.2271, allocations: 146.8 kB / 0.9066 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.2278, allocations: 381.4 kB / 0.907 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.2284, allocations: 0.8734 MB / 0.9079 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004783/0.2289, allocations: 422.1 kB / 0.9083 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.2291, allocations: 238.7 kB / 0.9085 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.2294, allocations: 254.4 kB / 0.9087 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/0.2295, allocations: 20 kB / 0.9087 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.2296, allocations: 31.94 kB / 0.9088 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.2297, allocations: 103.4 kB / 0.9089 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.2299, allocations: 331.8 kB / 0.9092 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.2305, allocations: 0.7989 MB / 0.91 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.2305, allocations: 3.984 kB / 0.91 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2305, allocations: 0 / 0.91 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.2306, allocations: 0 / 0.91 GB, free: 54.56 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001677/0.2322, allocations: 0.9563 MB / 0.9109 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.2323, allocations: 8.031 kB / 0.9109 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.2324, allocations: 87.91 kB / 0.911 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/0.2332, allocations: 0.5456 MB / 0.9115 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.2332, allocations: 45.62 kB / 0.9116 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.2333, allocations: 60.36 kB / 0.9116 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.2343, allocations: 0.6118 MB / 0.9122 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.2344, allocations: 4 kB / 0.9122 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.2344, allocations: 20 kB / 0.9123 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.2344, allocations: 12 kB / 0.9123 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/0.2353, allocations: 477 kB / 0.9127 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.2377, allocations: 2.024 MB / 0.9147 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/0.2385, allocations: 457 kB / 0.9151 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.2389, allocations: 242.1 kB / 0.9154 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.2389, allocations: 12.38 kB / 0.9154 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/0.2395, allocations: 273.2 kB / 0.9156 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.014e-06/0.2395, allocations: 0 / 0.9156 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.00111/0.2406, allocations: 0.5922 MB / 0.9162 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2406, allocations: 63.83 kB / 0.9163 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.241, allocations: 442.7 kB / 0.9167 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2411, allocations: 37.7 kB / 0.9167 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.2412, allocations: 328.2 kB / 0.9171 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.513e-05/0.2413, allocations: 161.6 kB / 0.9172 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.2413, allocations: 12 kB / 0.9172 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.2414, allocations: 366.8 kB / 0.9176 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.2418, allocations: 173 kB / 0.9177 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.2421, allocations: 261.8 kB / 0.918 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.2428, allocations: 464 kB / 0.9184 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2428, allocations: 4 kB / 0.9184 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008585/0.2437, allocations: 0.5663 MB / 0.919 GB, free: 45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.2437, allocations: 41.62 kB / 0.919 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2438, allocations: 4 kB / 0.919 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2438, allocations: 4 kB / 0.919 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.2443, allocations: 123.8 kB / 0.9191 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2443, allocations: 4 kB / 0.9191 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.2446, allocations: 67.75 kB / 0.9192 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.2446, allocations: 20 kB / 0.9192 GB, free: 44.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002017/0.2448, allocations: 214.8 kB / 0.9194 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.2449, allocations: 59.28 kB / 0.9195 GB, free: 44.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.245, allocations: 69.58 kB / 0.9196 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.245, allocations: 4 kB / 0.9196 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.245, allocations: 0 / 0.9196 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.245, allocations: 3.984 kB / 0.9196 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.2465, allocations: 1.189 MB / 0.9207 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2465, allocations: 0 / 0.9207 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.2469, allocations: 91.89 kB / 0.9208 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.247, allocations: 4 kB / 0.9208 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.247, allocations: 15.98 kB / 0.9208 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.247, allocations: 0 / 0.9208 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.247, allocations: 3.938 kB / 0.9208 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.2482, allocations: 0.7796 MB / 0.9216 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.2483, allocations: 172.3 kB / 0.9218 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.2484, allocations: 12 kB / 0.9218 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.2487, allocations: 31.97 kB / 0.9218 GB, free: 42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.2488, allocations: 36.33 kB / 0.9218 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.2488, allocations: 23.98 kB / 0.9219 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002583/0.2491, allocations: 306.9 kB / 0.9222 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2491, allocations: 0 / 0.9222 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003758/0.2494, allocations: 139.4 kB / 0.9223 GB, free: 41.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001204/0.2496, allocations: 116.2 kB / 0.9224 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000786/0.2504, allocations: 497 kB / 0.9229 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2504, allocations: 0 / 0.9229 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.2508, allocations: 222.9 kB / 0.9231 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.2515, allocations: 152.8 kB / 0.9232 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.2538, allocations: 1.721 MB / 0.9249 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.254, allocations: 0.8863 MB / 0.9258 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.2542, allocations: 43.42 kB / 0.9258 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2542, allocations: 4 kB / 0.9258 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.007888/0.2621, allocations: 7.496 MB / 0.9331 GB, free: 30.35 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)