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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001205/0.001205, allocations: 191.2 kB / 16.25 MB, free: 6.637 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.129/1.129, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.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.485/1.485, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001258/0.001258, allocations: 65.89 kB / 0.6711 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1603, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004747/0.1651, allocations: 4.152 MB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1672, allocations: 1.329 MB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.1676, allocations: 27.88 kB / 0.7883 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1679, allocations: 91.22 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.1683, allocations: 142.9 kB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.169, allocations: 379.2 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008444/0.1699, allocations: 0.9515 MB / 0.7899 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.1704, allocations: 466.3 kB / 0.7903 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.1708, allocations: 330.7 kB / 0.7906 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.1711, allocations: 342.3 kB / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.1712, allocations: 96 kB / 0.791 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.894e-05/0.1713, allocations: 88 kB / 0.7911 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1714, allocations: 171.5 kB / 0.7913 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.1717, allocations: 398 kB / 0.7917 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.1724, allocations: 1.032 MB / 0.7927 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1725, allocations: 3.984 kB / 0.7927 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1725, allocations: 0 / 0.7927 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.1725, allocations: 0 / 0.7927 GB, free: 3.773 MB / 0.6075 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.001619/0.1741, allocations: 1.077 MB / 0.7937 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1741, allocations: 15.95 kB / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.1742, allocations: 98.7 kB / 0.7938 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1744, allocations: 80 kB / 0.7939 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.1751, allocations: 0.5533 MB / 0.7945 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.1751, allocations: 45.69 kB / 0.7945 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.1752, allocations: 56.38 kB / 0.7945 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009709/0.1762, allocations: 0.6077 MB / 0.7951 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1762, allocations: 3.906 kB / 0.7951 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/0.1762, allocations: 31.98 kB / 0.7952 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1763, allocations: 12 kB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008698/0.1771, allocations: 465 kB / 0.7956 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.1795, allocations: 2.001 MB / 0.7976 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008074/0.1803, allocations: 445.5 kB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/0.1807, allocations: 238.1 kB / 0.7982 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.1808, allocations: 4.438 kB / 0.7982 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004889/0.1813, allocations: 265.2 kB / 0.7985 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 1.823e-06/0.1813, allocations: 0 / 0.7985 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001122/0.1824, allocations: 0.592 MB / 0.7991 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.1824, allocations: 59.84 kB / 0.7991 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.1828, allocations: 446 kB / 0.7996 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1829, allocations: 33.7 kB / 0.7996 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.1831, allocations: 328.2 kB / 0.7999 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1832, allocations: 165.6 kB / 0.8001 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.1833, allocations: 94.25 kB / 0.8001 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1834, allocations: 362.8 kB / 0.8005 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.1838, allocations: 169 kB / 0.8007 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.1842, allocations: 249.8 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.1849, allocations: 460 kB / 0.8013 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1849, allocations: 4 kB / 0.8013 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009018/0.1858, allocations: 0.5625 MB / 0.8019 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1859, allocations: 33.73 kB / 0.8019 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1859, allocations: 4 kB / 0.8019 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1859, allocations: 11.94 kB / 0.8019 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.1863, allocations: 107.9 kB / 0.802 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1864, allocations: 11.92 kB / 0.802 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.1867, allocations: 67.44 kB / 0.8021 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.1867, allocations: 24 kB / 0.8021 GB, free: 9.723 MB / 0.6231 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.0001995/0.1869, allocations: 205.7 kB / 0.8023 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.187, allocations: 55.28 kB / 0.8024 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.1871, allocations: 69.58 kB / 0.8024 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1871, allocations: 4 kB / 0.8025 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1871, allocations: 0 / 0.8025 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1871, allocations: 3.984 kB / 0.8025 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.1886, allocations: 1.174 MB / 0.8036 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1886, allocations: 0 / 0.8036 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.1891, allocations: 95.83 kB / 0.8037 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1891, allocations: 4 kB / 0.8037 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.1891, allocations: 15.98 kB / 0.8037 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1891, allocations: 0 / 0.8037 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1891, allocations: 4 kB / 0.8037 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.1903, allocations: 0.7601 MB / 0.8045 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1905, allocations: 168.3 kB / 0.8046 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.1905, allocations: 8 kB / 0.8046 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.1908, allocations: 35.97 kB / 0.8047 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.1909, allocations: 36.39 kB / 0.8047 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.1909, allocations: 8 kB / 0.8047 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000274/0.1912, allocations: 310.9 kB / 0.805 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1912, allocations: 0 / 0.805 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003617/0.1916, allocations: 139.5 kB / 0.8051 GB, free: 6.547 MB / 0.6231 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.001387/0.193, allocations: 1.328 MB / 0.8064 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000932/0.1939, allocations: 0.4892 MB / 0.8069 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1939, allocations: 0 / 0.8069 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.1943, allocations: 222.3 kB / 0.8071 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.195, allocations: 163.4 kB / 0.8073 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.2013, allocations: 5.138 MB / 0.8123 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.2017, allocations: 0.8938 MB / 0.8132 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.2019, allocations: 68.58 kB / 0.8132 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.2022, allocations: 215.4 kB / 0.8134 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.2022, allocations: 0 / 0.8134 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4964/0.6986, allocations: 10.95 MB / 0.8241 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.6988, allocations: 210 kB / 0.8243 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.527, allocations: 0 / 0.8243 GB, free: 2.836 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)