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.0007255/0.0007256, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007511/0.0007512, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.507/1.507, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.000472/0.0004721, allocations: 15.7 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.178, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003574/0.1816, allocations: 3.528 MB / 0.7908 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1837, allocations: 1.295 MB / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004651/0.1842, allocations: 23.88 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.1845, allocations: 91.14 kB / 0.7922 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.1849, allocations: 134.9 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.1857, allocations: 286.8 kB / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008496/0.1865, allocations: 0.8345 MB / 0.7934 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.187, allocations: 291.6 kB / 0.7937 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.1872, allocations: 226.8 kB / 0.7939 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.1875, allocations: 242.6 kB / 0.7942 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.1875, allocations: 24 kB / 0.7942 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.497e-05/0.1876, allocations: 24 kB / 0.7942 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.1877, allocations: 95.48 kB / 0.7943 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1878, allocations: 157.3 kB / 0.7944 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.1883, allocations: 0.8067 MB / 0.7952 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1883, allocations: 0 / 0.7952 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1883, allocations: 0 / 0.7952 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.331e-05/0.1884, allocations: 0 / 0.7952 GB, free: 3.762 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.001417/0.1898, allocations: 0.9639 MB / 0.7962 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1898, allocations: 8.031 kB / 0.7962 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.19, allocations: 98.52 kB / 0.7963 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.1901, allocations: 86.97 kB / 0.7964 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.1908, allocations: 0.5329 MB / 0.7969 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.1908, allocations: 45.31 kB / 0.7969 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.1909, allocations: 60 kB / 0.797 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/0.1918, allocations: 0.6037 MB / 0.7976 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1919, allocations: 11.92 kB / 0.7976 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.1919, allocations: 20 kB / 0.7976 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1919, allocations: 16 kB / 0.7976 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000867/0.1928, allocations: 465 kB / 0.7981 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.1952, allocations: 2.02 MB / 0.8 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.196, allocations: 453.3 kB / 0.8005 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.1964, allocations: 250 kB / 0.8007 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.1964, allocations: 12.42 kB / 0.8007 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.1969, allocations: 265.2 kB / 0.801 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 1.663e-06/0.1969, allocations: 4 kB / 0.801 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.00107/0.198, allocations: 0.5883 MB / 0.8015 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.198, allocations: 59.84 kB / 0.8016 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.1984, allocations: 446 kB / 0.802 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1985, allocations: 37.7 kB / 0.8021 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1987, allocations: 328.2 kB / 0.8024 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.1988, allocations: 169.5 kB / 0.8025 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1988, allocations: 8 kB / 0.8025 GB, free: 12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1989, allocations: 366.8 kB / 0.8029 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.1993, allocations: 173 kB / 0.8031 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.1996, allocations: 257.8 kB / 0.8033 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.2, allocations: 219.9 kB / 0.8035 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2, allocations: 0 / 0.8035 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008796/0.2009, allocations: 0.5663 MB / 0.8041 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.2009, allocations: 33.69 kB / 0.8041 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.201, allocations: 7.953 kB / 0.8041 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.201, allocations: 7.938 kB / 0.8041 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.2014, allocations: 111.9 kB / 0.8042 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2014, allocations: 7.938 kB / 0.8042 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.2017, allocations: 71.75 kB / 0.8043 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.2018, allocations: 20 kB / 0.8043 GB, free: 10.12 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 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,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 (65): * Single equations (assignments): 64 * 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.0002047/0.202, allocations: 205.1 kB / 0.8045 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.202, allocations: 55.33 kB / 0.8046 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.2022, allocations: 73.58 kB / 0.8046 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.2022, allocations: 7.953 kB / 0.8046 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2022, allocations: 0 / 0.8046 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2022, allocations: 3.984 kB / 0.8046 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.2036, allocations: 1.185 MB / 0.8058 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2037, allocations: 0 / 0.8058 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.2041, allocations: 99.88 kB / 0.8059 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.2041, allocations: 3.953 kB / 0.8059 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.2041, allocations: 15.94 kB / 0.8059 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2041, allocations: 0 / 0.8059 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2041, allocations: 0 / 0.8059 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.2052, allocations: 0.7796 MB / 0.8067 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.2054, allocations: 168.4 kB / 0.8068 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.2055, allocations: 7.953 kB / 0.8069 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.2057, allocations: 39.91 kB / 0.8069 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.2058, allocations: 36.38 kB / 0.8069 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.2058, allocations: 16 kB / 0.8069 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002691/0.2061, allocations: 306.9 kB / 0.8072 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2061, allocations: 0 / 0.8072 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003671/0.2065, allocations: 147.4 kB / 0.8074 GB, free: 6.906 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 (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.001372/0.2079, allocations: 1.321 MB / 0.8087 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007591/0.2086, allocations: 497 kB / 0.8091 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2086, allocations: 0.5 kB / 0.8091 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.209, allocations: 218.4 kB / 0.8093 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.2096, allocations: 148.7 kB / 0.8095 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.2146, allocations: 3.588 MB / 0.813 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.2149, allocations: 0.8824 MB / 0.8139 GB, free: 124 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002347/0.2152, allocations: 64.58 kB / 0.8139 GB, free: 60 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.2155, allocations: 219.4 kB / 0.8141 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.2155, allocations: 0 / 0.8141 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.2353, allocations: 10.68 MB / 0.8246 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.2356, allocations: 189.7 kB / 0.8247 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.887, allocations: 0 / 0.8247 GB, free: 5.133 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/linux/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) Environment - environmentSimulation: