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/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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108.6 kB / 16.27 MB, free: 6.41 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.001626/0.001626, allocations: 184.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8368/0.8368, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 67.89 kB / 0.495 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.5014, allocations: 78.69 MB / 0.5718 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004966/0.5064, allocations: 4.102 MB / 0.5758 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.5087, allocations: 1.316 MB / 0.5771 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.5091, allocations: 22.53 kB / 0.5771 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.5095, allocations: 126.7 kB / 0.5772 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.5098, allocations: 181 kB / 0.5774 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007673/0.5106, allocations: 418.7 kB / 0.5778 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007288/0.5113, allocations: 0.9541 MB / 0.5787 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.5118, allocations: 456.9 kB / 0.5792 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.5121, allocations: 327.9 kB / 0.5795 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.5124, allocations: 342.5 kB / 0.5798 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.5125, allocations: 91.12 kB / 0.5799 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.5126, allocations: 89.69 kB / 0.58 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.5127, allocations: 175.6 kB / 0.5802 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.5129, allocations: 397.3 kB / 0.5805 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.5135, allocations: 1.027 MB / 0.5815 GB, free: 24.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5135, allocations: 4 kB / 0.5815 GB, free: 24.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5135, allocations: 0.7812 kB / 0.5815 GB, free: 24.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.5136, allocations: 1.438 kB / 0.5815 GB, free: 24.4 MB / 446.1 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.001519/0.5151, allocations: 1.082 MB / 0.5826 GB, free: 23.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.5151, allocations: 13 kB / 0.5826 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.5153, allocations: 82.16 kB / 0.5827 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.5159, allocations: 0.5476 MB / 0.5832 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.516, allocations: 46.59 kB / 0.5833 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/0.5161, allocations: 56.06 kB / 0.5833 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.517, allocations: 0.6164 MB / 0.5839 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.517, allocations: 5.5 kB / 0.5839 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.5171, allocations: 25.66 kB / 0.584 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.5171, allocations: 14.34 kB / 0.584 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/0.5179, allocations: 459.9 kB / 0.5844 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.5203, allocations: 2.017 MB / 0.5864 GB, free: 20.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.5211, allocations: 444.8 kB / 0.5868 GB, free: 20.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.5216, allocations: 247.4 kB / 0.587 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.5216, allocations: 6.594 kB / 0.587 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/0.5221, allocations: 264.7 kB / 0.5873 GB, free: 20.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.254e-06/0.5221, allocations: 0 / 0.5873 GB, free: 20.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001238/0.5234, allocations: 0.5816 MB / 0.5879 GB, free: 19.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.5234, allocations: 57.69 kB / 0.5879 GB, free: 19.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.5239, allocations: 443.9 kB / 0.5883 GB, free: 19.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.5239, allocations: 36.39 kB / 0.5884 GB, free: 19.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.5241, allocations: 330.9 kB / 0.5887 GB, free: 19.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.414e-05/0.5242, allocations: 165.7 kB / 0.5889 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.5244, allocations: 89.78 kB / 0.5889 GB, free: 19.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.5245, allocations: 364.9 kB / 0.5893 GB, free: 18.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.5248, allocations: 169 kB / 0.5894 GB, free: 18.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.5252, allocations: 251.4 kB / 0.5897 GB, free: 18.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.526, allocations: 454.8 kB / 0.5901 GB, free: 18.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.526, allocations: 1.281 kB / 0.5901 GB, free: 18.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009617/0.5269, allocations: 0.5622 MB / 0.5907 GB, free: 17.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.527, allocations: 38.17 kB / 0.5907 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.527, allocations: 2.156 kB / 0.5907 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.527, allocations: 4.469 kB / 0.5907 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.5275, allocations: 118.8 kB / 0.5908 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.5275, allocations: 8.953 kB / 0.5908 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.5279, allocations: 55.05 kB / 0.5909 GB, free: 17.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.5279, allocations: 18.03 kB / 0.5909 GB, free: 17.73 MB / 446.1 MB 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.0002176/0.5281, allocations: 211.9 kB / 0.5911 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.5282, allocations: 62.27 kB / 0.5912 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.5283, allocations: 63.69 kB / 0.5912 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.5284, allocations: 5.625 kB / 0.5912 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.5284, allocations: 0 / 0.5912 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.5284, allocations: 3.984 kB / 0.5912 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.5299, allocations: 1.173 MB / 0.5924 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5299, allocations: 1.25 kB / 0.5924 GB, free: 16.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.5303, allocations: 101.7 kB / 0.5925 GB, free: 16.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5303, allocations: 2.906 kB / 0.5925 GB, free: 16.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.5304, allocations: 10.62 kB / 0.5925 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5304, allocations: 1.219 kB / 0.5925 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5304, allocations: 5.094 kB / 0.5925 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5316, allocations: 0.7608 MB / 0.5932 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.5317, allocations: 173.4 kB / 0.5934 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.5318, allocations: 11.64 kB / 0.5934 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.5321, allocations: 26.52 kB / 0.5934 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/0.5322, allocations: 32.61 kB / 0.5935 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.5322, allocations: 18.8 kB / 0.5935 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003747/0.5326, allocations: 310.3 kB / 0.5938 GB, free: 15.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5326, allocations: 0 / 0.5938 GB, free: 15.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000454/0.5331, allocations: 142.9 kB / 0.5939 GB, free: 15.58 MB / 446.1 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.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.0001172/0.5332, allocations: 117.3 kB / 0.594 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008943/0.5341, allocations: 0.4923 MB / 0.5945 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.5341, allocations: 0 / 0.5945 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.5345, allocations: 210.4 kB / 0.5947 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007276/0.5352, allocations: 158.5 kB / 0.5949 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.5376, allocations: 1.356 MB / 0.5962 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.5379, allocations: 0.8899 MB / 0.5971 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002661/0.5382, allocations: 56.58 kB / 0.5971 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.5383, allocations: 51.36 kB / 0.5972 GB, free: 12.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5383, allocations: 0 / 0.5972 GB, free: 12.2 MB / 446.1 MB Notification: Performance of Templates: time 0.009503/0.5478, allocations: 5.902 MB / 0.6029 GB, free: 6.383 MB / 446.1 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)