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.001126/0.001126, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 196.3 kB / 16.64 MB, free: 6.449 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.38/1.38, allocations: 205.1 MB / 222.5 MB, free: 4.578 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.653/1.653, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001319/0.001319, allocations: 67.97 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 114.5 MB / 0.7836 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004551/0.1727, allocations: 4.144 MB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1747, allocations: 1.364 MB / 0.789 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.1749, allocations: 23.94 kB / 0.789 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.1752, allocations: 122.7 kB / 0.7891 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.1755, allocations: 178.4 kB / 0.7893 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006964/0.1762, allocations: 429.7 kB / 0.7897 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007393/0.177, allocations: 0.9593 MB / 0.7907 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.1775, allocations: 462.3 kB / 0.7911 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.1778, allocations: 322.8 kB / 0.7914 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.1781, allocations: 342.3 kB / 0.7917 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.1782, allocations: 88 kB / 0.7918 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.1783, allocations: 92 kB / 0.7919 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1784, allocations: 175.5 kB / 0.7921 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.1787, allocations: 398 kB / 0.7925 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007216/0.1794, allocations: 1.051 MB / 0.7935 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1794, allocations: 4 kB / 0.7935 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1794, allocations: 0 / 0.7935 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1794, allocations: 0 / 0.7935 GB, free: 3.051 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.001514/0.181, allocations: 1.085 MB / 0.7945 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.181, allocations: 8.031 kB / 0.7945 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.641e-05/0.1811, allocations: 102.7 kB / 0.7946 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1812, allocations: 80 kB / 0.7947 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.182, allocations: 0.5573 MB / 0.7953 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.182, allocations: 49.62 kB / 0.7953 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.1821, allocations: 60.38 kB / 0.7954 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009046/0.183, allocations: 0.6116 MB / 0.796 GB, free: 380 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.183, allocations: 11.83 kB / 0.796 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.1831, allocations: 23.94 kB / 0.796 GB, free: 344 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1831, allocations: 16 kB / 0.796 GB, free: 328 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.184, allocations: 461 kB / 0.7965 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.1863, allocations: 1.985 MB / 0.7984 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.1871, allocations: 441.7 kB / 0.7988 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.1875, allocations: 242.1 kB / 0.799 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1876, allocations: 4.438 kB / 0.7991 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004641/0.1881, allocations: 269.1 kB / 0.7993 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 1.924e-06/0.1881, allocations: 0 / 0.7993 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.00112/0.1892, allocations: 0.5843 MB / 0.7999 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1892, allocations: 55.84 kB / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.1896, allocations: 446 kB / 0.8004 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1897, allocations: 29.7 kB / 0.8004 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.1899, allocations: 332.2 kB / 0.8007 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.19, allocations: 161.6 kB / 0.8009 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.1901, allocations: 98.25 kB / 0.801 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1902, allocations: 366.8 kB / 0.8013 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.1906, allocations: 165 kB / 0.8015 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.191, allocations: 253.8 kB / 0.8017 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.1917, allocations: 452 kB / 0.8021 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1917, allocations: 4 kB / 0.8021 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009086/0.1926, allocations: 0.5662 MB / 0.8027 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.1927, allocations: 33.69 kB / 0.8027 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1927, allocations: 4 kB / 0.8027 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1927, allocations: 4 kB / 0.8027 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.1931, allocations: 111.8 kB / 0.8028 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1932, allocations: 11.98 kB / 0.8028 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.1934, allocations: 59.77 kB / 0.8029 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.1935, allocations: 23.98 kB / 0.8029 GB, free: 9.016 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.0002037/0.1937, allocations: 208.2 kB / 0.8031 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.1938, allocations: 55.28 kB / 0.8032 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.1939, allocations: 69.52 kB / 0.8032 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1939, allocations: 4 kB / 0.8032 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1939, allocations: 0 / 0.8032 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1939, allocations: 0 / 0.8032 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.1954, allocations: 1.182 MB / 0.8044 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1954, allocations: 0 / 0.8044 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.1958, allocations: 99.86 kB / 0.8045 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1959, allocations: 4 kB / 0.8045 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.1959, allocations: 8 kB / 0.8045 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1959, allocations: 11.92 kB / 0.8045 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1959, allocations: 0 / 0.8045 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1971, allocations: 0.7612 MB / 0.8053 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.1972, allocations: 168.3 kB / 0.8054 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.1973, allocations: 16 kB / 0.8054 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.1976, allocations: 23.97 kB / 0.8055 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.1976, allocations: 40.33 kB / 0.8055 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.1977, allocations: 12 kB / 0.8055 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002923/0.198, allocations: 306.9 kB / 0.8058 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.198, allocations: 0 / 0.8058 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003749/0.1984, allocations: 143.5 kB / 0.8059 GB, free: 5.832 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.001395/0.1998, allocations: 1.313 MB / 0.8072 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008124/0.2006, allocations: 485 kB / 0.8077 GB, free: 4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2006, allocations: 0 / 0.8077 GB, free: 4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.201, allocations: 222.3 kB / 0.8079 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.2016, allocations: 148.8 kB / 0.808 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006205/0.2079, allocations: 4.776 MB / 0.8127 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2083, allocations: 0.886 MB / 0.8136 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002655/0.2086, allocations: 64.59 kB / 0.8136 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.2088, allocations: 223.4 kB / 0.8138 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.2088, allocations: 0 / 0.8138 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1656/0.3744, allocations: 11.15 MB / 0.8247 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.522, allocations: 14.69 kB / 0.8248 GB, free: 2.535 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)