Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.208/1.208, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 171.1 kB / 325.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007197/0.0007197, allocations: 93.23 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002609, allocations: 12.75 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.13, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.002445/0.1325, allocations: 3.425 MB / 0.8995 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.134, allocations: 1.348 MB / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.1342, allocations: 31.81 kB / 0.9009 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.1345, allocations: 99.09 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.1348, allocations: 143 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.1356, allocations: 0.5182 MB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.136, allocations: 0.9017 MB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.1363, allocations: 329.6 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.1365, allocations: 278.3 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.1367, allocations: 286.1 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.1368, allocations: 20 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.04e-05/0.1369, allocations: 23.94 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.1369, allocations: 107.4 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1371, allocations: 309.6 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.1374, allocations: 0.7781 MB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1374, allocations: 0 / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1374, allocations: 4 kB / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.1374, allocations: 0 / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001239/0.1387, allocations: 1.059 MB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.1387, allocations: 12.03 kB / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.1388, allocations: 90.7 kB / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1389, allocations: 91.81 kB / 0.9058 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.1395, allocations: 0.6026 MB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.1396, allocations: 108.9 kB / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.1397, allocations: 56.31 kB / 0.9065 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.1404, allocations: 0.6079 MB / 0.9071 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1405, allocations: 4 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.1405, allocations: 23.98 kB / 0.9071 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1405, allocations: 16 kB / 0.9072 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007291/0.1412, allocations: 443.6 kB / 0.9076 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.143, allocations: 2.141 MB / 0.9097 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009092/0.144, allocations: 0.5147 MB / 0.9102 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.1443, allocations: 229.9 kB / 0.9104 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1444, allocations: 7.953 kB / 0.9104 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.1449, allocations: 298.1 kB / 0.9107 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 1.593e-06/0.1449, allocations: 0 / 0.9107 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001074/0.1459, allocations: 0.6372 MB / 0.9113 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.146, allocations: 88.86 kB / 0.9114 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/0.1464, allocations: 0.6138 MB / 0.912 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1465, allocations: 41.64 kB / 0.912 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1466, allocations: 364.9 kB / 0.9124 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.1467, allocations: 157.7 kB / 0.9125 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.1467, allocations: 49.7 kB / 0.9126 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.1468, allocations: 326 kB / 0.9129 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.1471, allocations: 189 kB / 0.9131 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.1475, allocations: 284.2 kB / 0.9133 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006822/0.1482, allocations: 497.9 kB / 0.9138 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1482, allocations: 4 kB / 0.9138 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008656/0.1491, allocations: 0.6178 MB / 0.9144 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.1491, allocations: 189.3 kB / 0.9146 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1491, allocations: 8 kB / 0.9146 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1492, allocations: 4 kB / 0.9146 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.1495, allocations: 115.8 kB / 0.9147 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1496, allocations: 7.938 kB / 0.9147 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.1499, allocations: 68.5 kB / 0.9148 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1499, allocations: 27.94 kB / 0.9148 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-06/0.1499, allocations: 6.812 kB / 0.9148 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007337/0.1507, allocations: 0.5038 MB / 0.9153 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1507, allocations: 4 kB / 0.9153 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.466e-06/0.1507, allocations: 4 kB / 0.9153 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.151, allocations: 103.9 kB / 0.9154 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1511, allocations: 11.94 kB / 0.9154 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.1513, allocations: 59.77 kB / 0.9155 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.1514, allocations: 23.92 kB / 0.9155 GB, free: 47.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001616/0.1515, allocations: 280.3 kB / 0.9158 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.1516, allocations: 82.94 kB / 0.9159 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.93e-05/0.1517, allocations: 75.34 kB / 0.9159 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1517, allocations: 11.98 kB / 0.9159 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1517, allocations: 4 kB / 0.916 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1517, allocations: 3.984 kB / 0.916 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.1521, allocations: 0.618 MB / 0.9166 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1521, allocations: 3.984 kB / 0.9166 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.1525, allocations: 83.89 kB / 0.9166 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1525, allocations: 0 / 0.9166 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.1525, allocations: 12 kB / 0.9167 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1526, allocations: 0 / 0.9167 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1526, allocations: 4 kB / 0.9167 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1537, allocations: 0.7523 MB / 0.9174 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.1538, allocations: 196 kB / 0.9176 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.1539, allocations: 12.11 kB / 0.9176 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.1542, allocations: 47.97 kB / 0.9176 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.1543, allocations: 35.89 kB / 0.9177 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.1543, allocations: 15.98 kB / 0.9177 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003133/0.1547, allocations: 439 kB / 0.9181 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1547, allocations: 0 / 0.9181 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004142/0.1551, allocations: 211.4 kB / 0.9183 GB, free: 44.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.001243/0.1563, allocations: 1.312 MB / 0.9196 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.1574, allocations: 0.8168 MB / 0.9204 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1574, allocations: 0 / 0.9204 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1578, allocations: 219.8 kB / 0.9206 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.1584, allocations: 191 kB / 0.9208 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.1641, allocations: 5.928 MB / 0.9266 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.1643, allocations: 0.9144 MB / 0.9275 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002974/0.1646, allocations: 97.31 kB / 0.9276 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.1649, allocations: 263.3 kB / 0.9278 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.1649, allocations: 0 / 0.9278 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1332/0.2981, allocations: 13.26 MB / 0.9408 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001247/0.2982, allocations: 201.4 kB / 0.9409 GB, free: 21.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/2.453, allocations: 0 / 0.9409 GB, free: 21.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)