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.00115/0.00115, allocations: 105.5 kB / 16.27 MB, free: 6.418 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.001239/0.001239, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.801/1.801, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001506/0.001506, allocations: 71.88 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2349, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.4582/0.6931, allocations: 4.131 MB / 0.788 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003677/0.6969, allocations: 1.366 MB / 0.7894 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.6979, allocations: 21.16 kB / 0.7894 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.6986, allocations: 129.3 kB / 0.7895 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009233/0.6996, allocations: 174.5 kB / 0.7897 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.7009, allocations: 422.6 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.7026, allocations: 0.95 MB / 0.791 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009082/0.7035, allocations: 457.3 kB / 0.7915 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.7041, allocations: 328.1 kB / 0.7918 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/0.7047, allocations: 335.3 kB / 0.7921 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.7049, allocations: 92.88 kB / 0.7922 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.7051, allocations: 91.09 kB / 0.7923 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.7052, allocations: 180.1 kB / 0.7924 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.7056, allocations: 397.7 kB / 0.7928 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.7066, allocations: 1.031 MB / 0.7938 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7066, allocations: 0 / 0.7938 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.105e-06/0.7066, allocations: 3.406 kB / 0.7938 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.654e-05/0.7067, allocations: 0 / 0.7938 GB, free: 45.39 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.001846/0.7085, allocations: 1.068 MB / 0.7949 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.7086, allocations: 15.2 kB / 0.7949 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.7088, allocations: 85.31 kB / 0.795 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007508/0.7095, allocations: 0.5497 MB / 0.7955 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.7096, allocations: 44.25 kB / 0.7955 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.7097, allocations: 57.91 kB / 0.7956 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009808/0.7106, allocations: 0.6111 MB / 0.7962 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.7107, allocations: 7.188 kB / 0.7962 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.7107, allocations: 24.22 kB / 0.7962 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.7108, allocations: 13.94 kB / 0.7962 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.7117, allocations: 457.7 kB / 0.7967 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.7144, allocations: 2.022 MB / 0.7987 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/0.7152, allocations: 440 kB / 0.7991 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.7157, allocations: 240.7 kB / 0.7993 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.7157, allocations: 11.34 kB / 0.7993 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/0.7163, allocations: 259.6 kB / 0.7996 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.404e-06/0.7163, allocations: 0 / 0.7996 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001293/0.7176, allocations: 0.5829 MB / 0.8001 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.7177, allocations: 60.55 kB / 0.8002 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.7182, allocations: 443.5 kB / 0.8006 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.7183, allocations: 35.58 kB / 0.8006 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.7185, allocations: 329.4 kB / 0.801 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.7186, allocations: 162.2 kB / 0.8011 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.7188, allocations: 96 kB / 0.8012 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7189, allocations: 365.6 kB / 0.8016 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.7193, allocations: 167.3 kB / 0.8017 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.7197, allocations: 249.7 kB / 0.802 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007963/0.7205, allocations: 450.9 kB / 0.8024 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7205, allocations: 0 / 0.8024 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001133/0.7217, allocations: 0.5658 MB / 0.8029 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.7217, allocations: 38.16 kB / 0.803 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.7218, allocations: 4.641 kB / 0.803 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.7218, allocations: 3.844 kB / 0.803 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.7224, allocations: 115.5 kB / 0.8031 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.7224, allocations: 5.188 kB / 0.8031 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.7228, allocations: 60.41 kB / 0.8032 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.7229, allocations: 22.44 kB / 0.8032 GB, free: 40.12 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.0002918/0.7232, allocations: 205.3 kB / 0.8034 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.7232, allocations: 58.19 kB / 0.8034 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.7234, allocations: 64.92 kB / 0.8035 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.7234, allocations: 4.969 kB / 0.8035 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.7234, allocations: 4.562 kB / 0.8035 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.7234, allocations: 2.578 kB / 0.8035 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.7254, allocations: 1.177 MB / 0.8046 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7254, allocations: 0 / 0.8046 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.7259, allocations: 95.19 kB / 0.8047 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.7259, allocations: 2.875 kB / 0.8047 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.726, allocations: 16.12 kB / 0.8048 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.726, allocations: 2.469 kB / 0.8048 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.726, allocations: 3.938 kB / 0.8048 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.7275, allocations: 0.7651 MB / 0.8055 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.7277, allocations: 171.8 kB / 0.8057 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.7278, allocations: 8.156 kB / 0.8057 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.7281, allocations: 25.56 kB / 0.8057 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.7282, allocations: 36.45 kB / 0.8057 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.7283, allocations: 10.14 kB / 0.8058 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004371/0.7287, allocations: 309.9 kB / 0.806 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7287, allocations: 3.469 kB / 0.806 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005838/0.7293, allocations: 141.6 kB / 0.8062 GB, free: 38.43 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.0001606/0.7295, allocations: 118.7 kB / 0.8063 GB, free: 38.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.7308, allocations: 0.492 MB / 0.8068 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7308, allocations: 2 kB / 0.8068 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.7313, allocations: 217.6 kB / 0.807 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.7322, allocations: 160 kB / 0.8071 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.7353, allocations: 1.384 MB / 0.8085 GB, free: 37.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.7359, allocations: 0.8923 MB / 0.8094 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.7361, allocations: 43.73 kB / 0.8094 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of SimCode: time 7.31e-07/0.7361, allocations: 0 / 0.8094 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.01979/0.7559, allocations: 7.601 MB / 0.8168 GB, free: 35.78 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)