Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.447/1.447, allocations: 288.4 MB / 303.6 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 179.4 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.098/1.098, allocations: 205.4 MB / 0.631 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006579/0.0006581, allocations: 90.3 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 14.94 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00267/0.1415, allocations: 3.532 MB / 0.9836 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1432, allocations: 1.29 MB / 0.9849 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003763/0.1436, allocations: 31.88 kB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.1438, allocations: 87.2 kB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.1441, allocations: 138.8 kB / 0.9851 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.1447, allocations: 281.2 kB / 0.9854 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005838/0.1453, allocations: 0.8461 MB / 0.9862 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.1458, allocations: 426.3 kB / 0.9866 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.146, allocations: 222.8 kB / 0.9868 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1462, allocations: 242.6 kB / 0.9871 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.1463, allocations: 24 kB / 0.9871 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.328e-05/0.1463, allocations: 24 kB / 0.9871 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.1464, allocations: 99.47 kB / 0.9872 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.1466, allocations: 316 kB / 0.9875 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.147, allocations: 0.8025 MB / 0.9883 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.147, allocations: 0 / 0.9883 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.61e-07/0.147, allocations: 0 / 0.9883 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.147, allocations: 0 / 0.9883 GB, free: 18.88 MB / 0.6198 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.001191/0.1482, allocations: 0.9524 MB / 0.9892 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1482, allocations: 12.03 kB / 0.9892 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.243e-05/0.1483, allocations: 102.6 kB / 0.9893 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.1484, allocations: 87.91 kB / 0.9894 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.149, allocations: 0.5533 MB / 0.99 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.149, allocations: 41.69 kB / 0.99 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.1491, allocations: 56.38 kB / 0.9901 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.1499, allocations: 0.6194 MB / 0.9907 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1499, allocations: 0 / 0.9907 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.15, allocations: 24 kB / 0.9907 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.15, allocations: 12 kB / 0.9907 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.1508, allocations: 473 kB / 0.9911 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.1528, allocations: 2.02 MB / 0.9931 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.1535, allocations: 447.6 kB / 0.9935 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.1538, allocations: 254 kB / 0.9938 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1539, allocations: 8.438 kB / 0.9938 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004301/0.1543, allocations: 265.3 kB / 0.9941 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 1.644e-06/0.1543, allocations: 0 / 0.9941 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.0009738/0.1553, allocations: 0.5999 MB / 0.9946 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.1553, allocations: 55.84 kB / 0.9947 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.1556, allocations: 442 kB / 0.9951 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1557, allocations: 37.7 kB / 0.9951 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1558, allocations: 320.3 kB / 0.9955 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.1559, allocations: 169.6 kB / 0.9956 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.1559, allocations: 12 kB / 0.9956 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.156, allocations: 370.8 kB / 0.996 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.1563, allocations: 161 kB / 0.9961 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.1566, allocations: 257.8 kB / 0.9964 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.1573, allocations: 464 kB / 0.9968 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1573, allocations: 0 / 0.9968 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007858/0.1581, allocations: 0.5701 MB / 0.9974 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1581, allocations: 33.7 kB / 0.9974 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1581, allocations: 4 kB / 0.9974 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1581, allocations: 7.984 kB / 0.9974 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.1585, allocations: 115.8 kB / 0.9975 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1586, allocations: 11.97 kB / 0.9975 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.1588, allocations: 71.69 kB / 0.9976 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.1589, allocations: 19.94 kB / 0.9976 GB, free: 8.973 MB / 0.6198 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.0001704/0.159, allocations: 201.8 kB / 0.9978 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.1591, allocations: 59.28 kB / 0.9979 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.059e-05/0.1592, allocations: 65.58 kB / 0.9979 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1592, allocations: 12 kB / 0.998 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1592, allocations: 0 / 0.998 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1592, allocations: 3.984 kB / 0.998 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.1605, allocations: 1.193 MB / 0.9991 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1605, allocations: 0 / 0.9991 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.1609, allocations: 95.89 kB / 0.9992 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1609, allocations: 4 kB / 0.9992 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.161, allocations: 11.98 kB / 0.9992 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.161, allocations: 4 kB / 0.9992 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.161, allocations: 0 / 0.9992 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.162, allocations: 0.7796 MB / 1 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1621, allocations: 168.3 kB / 1 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.1622, allocations: 12 kB / 1 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.1624, allocations: 36.09 kB / 1 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.1625, allocations: 36.38 kB / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.1626, allocations: 16 kB / 1 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002198/0.1628, allocations: 306.9 kB / 1.001 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1628, allocations: 0 / 1.001 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003399/0.1631, allocations: 139.5 kB / 1.001 GB, free: 5.754 MB / 0.6198 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.001151/0.1643, allocations: 1.329 MB / 1.002 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006854/0.165, allocations: 493 kB / 1.002 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.165, allocations: 3.938 kB / 1.002 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.1653, allocations: 226.9 kB / 1.003 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.1659, allocations: 134.2 kB / 1.003 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.1703, allocations: 3.592 MB / 1.006 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1706, allocations: 0.8902 MB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002328/0.1709, allocations: 68.58 kB / 1.007 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.1711, allocations: 219.4 kB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/0.1711, allocations: 0 / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.69/4.861, allocations: 10.74 MB / 1.018 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3353/5.196, allocations: 192.8 kB / 1.018 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/7.077, allocations: 0 / 1.018 GB, free: 3.934 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)