Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.625/0.625, allocations: 91.99 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 100.2 kB / 427.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 8 kB / 0.4982 GB, free: 42.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.195, allocations: 72.31 MB / 0.5689 GB, free: 1.965 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6635/0.8586, allocations: 108.1 MB / 0.6745 GB, free: 12.38 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.859, allocations: 79.95 kB / 0.6745 GB, free: 12.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05729/0.9163, allocations: 12.38 MB / 0.6866 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.23e-06/0.9164, allocations: 0 / 0.6866 GB, free: 15.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001274/0.9166, allocations: 16 kB / 0.6867 GB, free: 15.9 MB / 490.7 MB 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.004137/0.9207, allocations: 0.9544 MB / 0.6876 GB, free: 14.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.585e-05/0.9208, allocations: 8.031 kB / 0.6876 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.9214, allocations: 86.97 kB / 0.6877 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.9235, allocations: 0.5251 MB / 0.6882 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.931e-05/0.9236, allocations: 45.31 kB / 0.6882 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/0.9239, allocations: 63.95 kB / 0.6883 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.9266, allocations: 0.66 MB / 0.6889 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.9267, allocations: 3.984 kB / 0.6889 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.9268, allocations: 24 kB / 0.689 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.9269, allocations: 12 kB / 0.689 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.9292, allocations: 0.5204 MB / 0.6895 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007728/0.9369, allocations: 2.095 MB / 0.6915 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.9393, allocations: 0.5276 MB / 0.692 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-05/0.9395, allocations: 4.438 kB / 0.692 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.9409, allocations: 301.3 kB / 0.6923 GB, free: 9.855 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 5.631e-06/0.9409, allocations: 0 / 0.6923 GB, free: 9.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=50): time 0.003004/0.9439, allocations: 0.7015 MB / 0.693 GB, free: 9.152 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.9441, allocations: 162.7 kB / 0.6932 GB, free: 8.957 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.9453, allocations: 405.2 kB / 0.6936 GB, free: 8.555 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.966e-05/0.9454, allocations: 33.7 kB / 0.6936 GB, free: 8.516 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/0.9459, allocations: 317.1 kB / 0.6939 GB, free: 8.203 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.9463, allocations: 169.6 kB / 0.6941 GB, free: 8.035 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.9463, allocations: 12 kB / 0.6941 GB, free: 8.023 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003079/0.9467, allocations: 370.7 kB / 0.6944 GB, free: 7.652 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.9476, allocations: 205 kB / 0.6946 GB, free: 7.453 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.9487, allocations: 311.5 kB / 0.6949 GB, free: 7.117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/0.9496, allocations: 254.8 kB / 0.6952 GB, free: 6.867 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.9497, allocations: 0 / 0.6952 GB, free: 6.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002253/0.9519, allocations: 0.6325 MB / 0.6958 GB, free: 6.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.952, allocations: 37.69 kB / 0.6958 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.952, allocations: 0 / 0.6958 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/0.9521, allocations: 4.047 kB / 0.6958 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.9531, allocations: 132 kB / 0.6959 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.9531, allocations: 4 kB / 0.6959 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009384/0.9541, allocations: 83.55 kB / 0.696 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.9542, allocations: 16 kB / 0.696 GB, free: 5.945 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,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 (64): * Single equations (assignments): 63 * 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.0006599/0.9548, allocations: 213.7 kB / 0.6962 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.9551, allocations: 51.34 kB / 0.6963 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.9554, allocations: 73.52 kB / 0.6964 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.9554, allocations: 4 kB / 0.6964 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.9554, allocations: 0 / 0.6964 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.9555, allocations: 7.984 kB / 0.6964 GB, free: 5.594 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.9595, allocations: 1.31 MB / 0.6977 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9595, allocations: 0 / 0.6977 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009941/0.9605, allocations: 111.9 kB / 0.6978 GB, free: 4.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.9605, allocations: 7.938 kB / 0.6978 GB, free: 4.105 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.387e-05/0.9606, allocations: 11.98 kB / 0.6978 GB, free: 4.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.9606, allocations: 0 / 0.6978 GB, free: 4.094 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.9607, allocations: 4 kB / 0.6978 GB, free: 4.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.9637, allocations: 0.8929 MB / 0.6987 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.9642, allocations: 184.3 kB / 0.6988 GB, free: 2.984 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.9644, allocations: 12 kB / 0.6988 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/0.9652, allocations: 47.97 kB / 0.6989 GB, free: 2.926 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.9654, allocations: 44.31 kB / 0.6989 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.9655, allocations: 8 kB / 0.6989 GB, free: 2.875 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008008/0.9663, allocations: 318.9 kB / 0.6992 GB, free: 2.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9663, allocations: 0 / 0.6992 GB, free: 2.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001068/0.9674, allocations: 151.5 kB / 0.6994 GB, free: 2.418 MB / 490.7 MB 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.conPID.trigger,$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 (50): * Single equations (assignments): 48 * 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.0003445/0.9678, allocations: 130.9 kB / 0.6995 GB, free: 2.277 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.9699, allocations: 0.5401 MB / 0.7 GB, free: 1.723 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.9699, allocations: 384 / 0.7 GB, free: 1.723 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000889/0.9708, allocations: 266.3 kB / 0.7003 GB, free: 1.465 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.9721, allocations: 145.5 kB / 0.7004 GB, free: 1.324 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/0.9781, allocations: 1.822 MB / 0.7022 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008164/0.979, allocations: 0.9097 MB / 0.7031 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004815/0.9795, allocations: 64.53 kB / 0.7032 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.9797, allocations: 39.44 kB / 0.7032 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/0.9797, allocations: 4 kB / 0.7032 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.02084/1.001, allocations: 6.214 MB / 0.7093 GB, free: 8.293 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)