Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.441/1.441, 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.0009861/0.000986, allocations: 180.5 kB / 372.3 MB, free: 10.14 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.093/1.093, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0006513/0.0006516, allocations: 88.64 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 16.41 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1433, allocations: 115.3 MB / 0.9802 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.002397/0.1457, allocations: 3.146 MB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1474, allocations: 1.314 MB / 0.9845 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/0.1478, allocations: 23.88 kB / 0.9845 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.148, allocations: 87.11 kB / 0.9846 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.1484, allocations: 139 kB / 0.9848 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008345/0.1493, allocations: 465.1 kB / 0.9852 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.1499, allocations: 0.8433 MB / 0.986 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.1503, allocations: 333.8 kB / 0.9864 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.1505, allocations: 274.4 kB / 0.9866 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.1507, allocations: 262.3 kB / 0.9869 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.956e-05/0.1508, allocations: 20 kB / 0.9869 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.726e-05/0.1509, allocations: 20 kB / 0.9869 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.151, allocations: 111.4 kB / 0.987 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1511, allocations: 307.7 kB / 0.9873 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.1515, allocations: 0.6196 MB / 0.9879 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1515, allocations: 0 / 0.9879 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1515, allocations: 0 / 0.9879 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.1515, allocations: 0 / 0.9879 GB, free: 19.34 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001407/0.1529, allocations: 1.063 MB / 0.9889 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1529, allocations: 12.03 kB / 0.989 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.365e-05/0.153, allocations: 94.7 kB / 0.989 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.1531, allocations: 95.81 kB / 0.9891 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006597/0.1538, allocations: 0.6025 MB / 0.9897 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.1539, allocations: 101 kB / 0.9898 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.154, allocations: 52.38 kB / 0.9899 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.1548, allocations: 0.6157 MB / 0.9905 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1548, allocations: 0 / 0.9905 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.1549, allocations: 27.98 kB / 0.9905 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1549, allocations: 12 kB / 0.9905 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.1556, allocations: 435.7 kB / 0.9909 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.1576, allocations: 2.141 MB / 0.993 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009569/0.1586, allocations: 0.5108 MB / 0.9935 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.159, allocations: 234.4 kB / 0.9937 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.159, allocations: 7.938 kB / 0.9937 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005237/0.1595, allocations: 293.9 kB / 0.994 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.683e-06/0.1595, allocations: 4 kB / 0.994 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001125/0.1607, allocations: 0.6347 MB / 0.9947 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.1607, allocations: 88.8 kB / 0.9947 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.1612, allocations: 0.6061 MB / 0.9953 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1612, allocations: 33.7 kB / 0.9954 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1614, allocations: 368.8 kB / 0.9957 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/0.1614, allocations: 153.7 kB / 0.9959 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.1615, allocations: 12 kB / 0.9959 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.1615, allocations: 326 kB / 0.9962 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.1619, allocations: 181 kB / 0.9964 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.1622, allocations: 285.3 kB / 0.9966 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.163, allocations: 0.494 MB / 0.9971 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.163, allocations: 4 kB / 0.9971 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009092/0.1639, allocations: 0.6063 MB / 0.9977 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.164, allocations: 193 kB / 0.9979 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.164, allocations: 0 / 0.9979 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.164, allocations: 8 kB / 0.9979 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.1644, allocations: 107.9 kB / 0.998 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1644, allocations: 11.94 kB / 0.998 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.1648, allocations: 75.34 kB / 0.9981 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.1648, allocations: 23.94 kB / 0.9981 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-06/0.1648, allocations: 0 / 0.9981 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007815/0.1656, allocations: 0.5037 MB / 0.9986 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.1656, allocations: 0 / 0.9986 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.1656, allocations: 8 kB / 0.9986 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.166, allocations: 108.2 kB / 0.9987 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.166, allocations: 11.92 kB / 0.9987 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.1663, allocations: 55.52 kB / 0.9988 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.1663, allocations: 27.98 kB / 0.9988 GB, free: 7.723 MB / 0.6198 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.1665, allocations: 280 kB / 0.9991 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.1666, allocations: 83 kB / 0.9991 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1667, allocations: 79.34 kB / 0.9992 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1667, allocations: 4 kB / 0.9992 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1667, allocations: 0 / 0.9992 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1667, allocations: 7.922 kB / 0.9992 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.1672, allocations: 0.6258 MB / 0.9998 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1672, allocations: 0 / 0.9998 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.1676, allocations: 91.89 kB / 0.9999 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1676, allocations: 0 / 0.9999 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.1676, allocations: 8 kB / 0.9999 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1676, allocations: 4 kB / 0.9999 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1676, allocations: 3.984 kB / 0.9999 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.1688, allocations: 0.7511 MB / 1.001 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.169, allocations: 192.1 kB / 1.001 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.169, allocations: 12 kB / 1.001 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.1694, allocations: 47.91 kB / 1.001 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.1695, allocations: 31.94 kB / 1.001 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.1695, allocations: 16 kB / 1.001 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003341/0.1698, allocations: 427 kB / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1698, allocations: 0 / 1.001 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004352/0.1703, allocations: 215.3 kB / 1.002 GB, free: 4.777 MB / 0.6198 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 (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.001291/0.1716, allocations: 1.308 MB / 1.003 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.1728, allocations: 0.8122 MB / 1.004 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1728, allocations: 0 / 1.004 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.1732, allocations: 220.5 kB / 1.004 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.1738, allocations: 184 kB / 1.004 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.1788, allocations: 4.03 MB / 1.008 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1791, allocations: 0.9144 MB / 1.009 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003258/0.1795, allocations: 89.19 kB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.1798, allocations: 267.3 kB / 1.009 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of SimCode: time 3.81e-07/0.1798, allocations: 0 / 1.009 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.509/2.689, allocations: 13.4 MB / 1.022 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/2.689, allocations: 181.5 kB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/5.267, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)