Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 106.3 kB / 16.36 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 193.7 kB / 17.3 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 66.86 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2274, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.3643/0.5918, allocations: 4.131 MB / 0.7888 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.594, allocations: 1.368 MB / 0.7901 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.5943, allocations: 23.06 kB / 0.7902 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.5946, allocations: 128.4 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.5949, allocations: 178.2 kB / 0.7905 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.5956, allocations: 412.9 kB / 0.7908 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.5962, allocations: 0.9589 MB / 0.7918 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.5968, allocations: 457.5 kB / 0.7922 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.5971, allocations: 333.5 kB / 0.7925 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.5974, allocations: 335.7 kB / 0.7929 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.5975, allocations: 91.44 kB / 0.7929 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.5976, allocations: 89.56 kB / 0.793 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.5977, allocations: 177.7 kB / 0.7932 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.598, allocations: 392.2 kB / 0.7936 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.5986, allocations: 1.067 MB / 0.7946 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5986, allocations: 0 / 0.7946 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5986, allocations: 0 / 0.7946 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.5987, allocations: 0 / 0.7946 GB, free: 46.31 MB / 0.6544 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.00144/0.6001, allocations: 1.075 MB / 0.7957 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.6001, allocations: 10.44 kB / 0.7957 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.6003, allocations: 83.03 kB / 0.7958 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.6009, allocations: 0.5518 MB / 0.7963 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.601, allocations: 43.09 kB / 0.7963 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.6011, allocations: 59.31 kB / 0.7964 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008865/0.602, allocations: 0.6127 MB / 0.797 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.602, allocations: 4.5 kB / 0.797 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.602, allocations: 23.28 kB / 0.797 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.6021, allocations: 16.89 kB / 0.797 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.6029, allocations: 459.7 kB / 0.7975 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.6053, allocations: 1.991 MB / 0.7994 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/0.6061, allocations: 443.4 kB / 0.7998 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.6065, allocations: 244.2 kB / 0.8001 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.6065, allocations: 6.094 kB / 0.8001 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005202/0.607, allocations: 261 kB / 0.8003 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 1.863e-06/0.607, allocations: 0 / 0.8003 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001212/0.6083, allocations: 0.5807 MB / 0.8009 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.6083, allocations: 62.66 kB / 0.801 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.6087, allocations: 440.9 kB / 0.8014 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.6088, allocations: 39.7 kB / 0.8014 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.609, allocations: 328.4 kB / 0.8017 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.6091, allocations: 164.7 kB / 0.8019 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.6092, allocations: 96.36 kB / 0.802 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.6093, allocations: 360 kB / 0.8023 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.6097, allocations: 165.5 kB / 0.8025 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.6101, allocations: 256.6 kB / 0.8027 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.6109, allocations: 450.4 kB / 0.8031 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6109, allocations: 2.438 kB / 0.8031 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001007/0.6119, allocations: 0.5603 MB / 0.8037 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.6119, allocations: 41.67 kB / 0.8037 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.612, allocations: 1.375 kB / 0.8037 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.612, allocations: 5.406 kB / 0.8037 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.6125, allocations: 112.8 kB / 0.8039 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.6125, allocations: 7.859 kB / 0.8039 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.6128, allocations: 61.56 kB / 0.8039 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.6129, allocations: 21.03 kB / 0.8039 GB, free: 40.85 MB / 0.6544 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,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.0001983/0.6131, allocations: 208.5 kB / 0.8041 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.6132, allocations: 59.23 kB / 0.8042 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.6133, allocations: 62.08 kB / 0.8043 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.6133, allocations: 4.281 kB / 0.8043 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.6133, allocations: 5.75 kB / 0.8043 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.525e-06/0.6133, allocations: 2.484 kB / 0.8043 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.615, allocations: 1.178 MB / 0.8054 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.615, allocations: 1.609 kB / 0.8054 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.6156, allocations: 93.52 kB / 0.8055 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.6156, allocations: 2.281 kB / 0.8055 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.6156, allocations: 18.05 kB / 0.8055 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.6156, allocations: 2.719 kB / 0.8055 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6156, allocations: 0 / 0.8055 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.617, allocations: 0.7672 MB / 0.8063 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.6171, allocations: 168.6 kB / 0.8064 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.6172, allocations: 11.44 kB / 0.8064 GB, free: 39.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.6175, allocations: 25.39 kB / 0.8065 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6176, allocations: 34.97 kB / 0.8065 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.6177, allocations: 17.66 kB / 0.8065 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003393/0.618, allocations: 308.9 kB / 0.8068 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.618, allocations: 1.5 kB / 0.8068 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000443/0.6185, allocations: 136.8 kB / 0.8069 GB, free: 39.13 MB / 0.6544 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.0001171/0.6186, allocations: 117.7 kB / 0.8071 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009152/0.6195, allocations: 481.3 kB / 0.8075 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6195, allocations: 1.062 kB / 0.8075 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.62, allocations: 220.8 kB / 0.8077 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007336/0.6207, allocations: 164.1 kB / 0.8079 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.6231, allocations: 1.332 MB / 0.8092 GB, free: 37.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.6235, allocations: 0.8871 MB / 0.8101 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.6238, allocations: 63.95 kB / 0.8101 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.6239, allocations: 48.89 kB / 0.8102 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of SimCode: time 1.333e-06/0.6239, allocations: 0 / 0.8102 GB, free: 37.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.01277/0.6367, allocations: 5.925 MB / 0.8159 GB, free: 36.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)