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.001703/0.001703, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5462/0.5462, allocations: 90.92 MB / 99.35 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.5 MB / 343.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008577/0.0008577, allocations: 99.33 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.03e-05, allocations: 0 / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1548, allocations: 72.32 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4979/0.6527, allocations: 107.4 MB / 0.6584 GB, free: 2.867 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.6529, allocations: 78.89 kB / 0.6585 GB, free: 2.828 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03052/0.6835, allocations: 12.25 MB / 0.6705 GB, free: 8.758 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6835, allocations: 4 kB / 0.6705 GB, free: 8.754 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.094e-05/0.6836, allocations: 20.12 kB / 0.6705 GB, free: 8.734 MB / 474.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.001353/0.6849, allocations: 0.8651 MB / 0.6713 GB, free: 7.863 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.685, allocations: 8.031 kB / 0.6713 GB, free: 7.855 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.6851, allocations: 86.97 kB / 0.6714 GB, free: 7.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007562/0.6859, allocations: 0.5294 MB / 0.6719 GB, free: 7.309 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.6859, allocations: 16 kB / 0.672 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.037e-05/0.686, allocations: 43.86 kB / 0.672 GB, free: 7.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000683/0.6867, allocations: 396.2 kB / 0.6724 GB, free: 7.031 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008071/0.6875, allocations: 0.5185 MB / 0.6729 GB, free: 6.629 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.6876, allocations: 0 / 0.6729 GB, free: 6.629 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.6876, allocations: 4 kB / 0.6729 GB, free: 6.625 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.6876, allocations: 12 kB / 0.6729 GB, free: 6.613 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.6904, allocations: 1.984 MB / 0.6748 GB, free: 5.102 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006054/0.691, allocations: 403.6 kB / 0.6752 GB, free: 4.859 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.6913, allocations: 205.9 kB / 0.6754 GB, free: 4.738 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.6913, allocations: 16.36 kB / 0.6754 GB, free: 4.723 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003898/0.6917, allocations: 238.4 kB / 0.6757 GB, free: 4.551 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 2.846e-06/0.6917, allocations: 0 / 0.6757 GB, free: 4.551 MB / 474.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006403/0.6924, allocations: 396.8 kB / 0.676 GB, free: 4.266 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.6925, allocations: 162.2 kB / 0.6762 GB, free: 4.074 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.6928, allocations: 346.6 kB / 0.6765 GB, free: 3.805 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.6929, allocations: 33.64 kB / 0.6766 GB, free: 3.766 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.6931, allocations: 320 kB / 0.6769 GB, free: 3.535 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.6932, allocations: 160.6 kB / 0.677 GB, free: 3.398 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.6932, allocations: 4 kB / 0.677 GB, free: 3.395 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6934, allocations: 371.2 kB / 0.6774 GB, free: 3.047 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.6936, allocations: 136.8 kB / 0.6775 GB, free: 2.977 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.6939, allocations: 246.8 kB / 0.6777 GB, free: 2.781 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.6941, allocations: 171.8 kB / 0.6779 GB, free: 2.688 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6941, allocations: 0 / 0.6779 GB, free: 2.688 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006604/0.6948, allocations: 462.6 kB / 0.6783 GB, free: 2.355 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.6949, allocations: 41.72 kB / 0.6784 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6949, allocations: 0 / 0.6784 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6949, allocations: 7.938 kB / 0.6784 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.6954, allocations: 118.8 kB / 0.6785 GB, free: 2.188 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6954, allocations: 4 kB / 0.6785 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.6958, allocations: 75.48 kB / 0.6786 GB, free: 2.109 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.6959, allocations: 15.69 kB / 0.6786 GB, free: 2.098 MB / 474.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 () * 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.0001202/0.696, allocations: 124.2 kB / 0.6787 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.6961, allocations: 55.34 kB / 0.6788 GB, free: 1.918 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.6962, allocations: 58.5 kB / 0.6788 GB, free: 1.891 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.6962, allocations: 8 kB / 0.6788 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6962, allocations: 0 / 0.6788 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.6963, allocations: 3.984 kB / 0.6788 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.6977, allocations: 1.109 MB / 0.6799 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6977, allocations: 0 / 0.6799 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.6982, allocations: 110.7 kB / 0.68 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.6982, allocations: 8.031 kB / 0.68 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.6983, allocations: 11.55 kB / 0.68 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.6983, allocations: 4 kB / 0.68 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6983, allocations: 0 / 0.68 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009094/0.6992, allocations: 0.708 MB / 0.6807 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.6994, allocations: 183.1 kB / 0.6809 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.6995, allocations: 4 kB / 0.6809 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.6998, allocations: 42.64 kB / 0.6809 GB, free: 232 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.7, allocations: 35.56 kB / 0.681 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.7, allocations: 15.38 kB / 0.681 GB, free: 188 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003054/0.7003, allocations: 273.7 kB / 0.6813 GB, free: 15.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7003, allocations: 0 / 0.6813 GB, free: 15.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004581/0.7008, allocations: 139.4 kB / 0.6814 GB, free: 15.85 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) * 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.0001528/0.7009, allocations: 112.1 kB / 0.6815 GB, free: 15.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.7016, allocations: 440.4 kB / 0.6819 GB, free: 15.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7016, allocations: 4.375 kB / 0.6819 GB, free: 15.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.7018, allocations: 194.6 kB / 0.6821 GB, free: 15.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.7025, allocations: 126.9 kB / 0.6822 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.705, allocations: 1.245 MB / 0.6834 GB, free: 14.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.7055, allocations: 0.9018 MB / 0.6843 GB, free: 13.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.7057, allocations: 64.34 kB / 0.6844 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.7059, allocations: 39.44 kB / 0.6844 GB, free: 13 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7059, allocations: 0 / 0.6844 GB, free: 13 MB / 490.7 MB Notification: Performance of Templates: time 0.009701/0.7156, allocations: 5.508 MB / 0.6898 GB, free: 7.57 MB / 490.7 MB 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)