Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPID",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.001022/0.001022, allocations: 108 kB / 15.61 MB, free: 152 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.00106/0.00106, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.616/1.616, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001334/0.001334, allocations: 73.64 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2048, allocations: 114.6 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004526/0.2094, allocations: 3.732 MB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2115, allocations: 1.372 MB / 0.7885 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.2118, allocations: 23.88 kB / 0.7885 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.2121, allocations: 126.6 kB / 0.7886 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.2125, allocations: 182.5 kB / 0.7888 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.2135, allocations: 0.5668 MB / 0.7893 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008316/0.2144, allocations: 0.9644 MB / 0.7903 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.2149, allocations: 349.8 kB / 0.7906 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.2152, allocations: 366.4 kB / 0.7909 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.2156, allocations: 350.1 kB / 0.7913 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.2157, allocations: 80 kB / 0.7914 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/0.2158, allocations: 76 kB / 0.7914 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.2159, allocations: 187.2 kB / 0.7916 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.2162, allocations: 377.7 kB / 0.792 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.2169, allocations: 0.8524 MB / 0.7928 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2169, allocations: 4 kB / 0.7928 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2169, allocations: 0 / 0.7928 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.2169, allocations: 4 kB / 0.7928 GB, free: 3.801 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001917/0.2189, allocations: 1.187 MB / 0.794 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2189, allocations: 15.97 kB / 0.794 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.219, allocations: 94.7 kB / 0.7941 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2192, allocations: 95.81 kB / 0.7942 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008902/0.2201, allocations: 0.5987 MB / 0.7948 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.2202, allocations: 96.95 kB / 0.7948 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/0.2203, allocations: 56.36 kB / 0.7949 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.2213, allocations: 0.6001 MB / 0.7955 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2213, allocations: 0 / 0.7955 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.2214, allocations: 24 kB / 0.7955 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.2214, allocations: 16 kB / 0.7955 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.2223, allocations: 427.6 kB / 0.7959 GB, free: 452 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.2248, allocations: 2.114 MB / 0.798 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.226, allocations: 0.5001 MB / 0.7985 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/0.2264, allocations: 220.7 kB / 0.7987 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.2265, allocations: 7.984 kB / 0.7987 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006722/0.2271, allocations: 286 kB / 0.799 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.934e-06/0.2271, allocations: 3.938 kB / 0.799 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001437/0.2286, allocations: 0.6073 MB / 0.7996 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.2287, allocations: 92.84 kB / 0.7997 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.2294, allocations: 0.6061 MB / 0.8002 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.2294, allocations: 37.7 kB / 0.8003 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.2297, allocations: 368.8 kB / 0.8006 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.2298, allocations: 153.8 kB / 0.8008 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.23, allocations: 98.23 kB / 0.8009 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2301, allocations: 326 kB / 0.8012 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.2305, allocations: 179 kB / 0.8014 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.231, allocations: 284.2 kB / 0.8016 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.2319, allocations: 473.9 kB / 0.8021 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2319, allocations: 4 kB / 0.8021 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001127/0.2331, allocations: 0.5982 MB / 0.8027 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.2331, allocations: 37.7 kB / 0.8027 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.2332, allocations: 4 kB / 0.8027 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.2332, allocations: 4 kB / 0.8027 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.2337, allocations: 112.1 kB / 0.8028 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2337, allocations: 4 kB / 0.8028 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.2341, allocations: 67.41 kB / 0.8029 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.2341, allocations: 16 kB / 0.8029 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005318/0.2347, allocations: 309.8 kB / 0.8032 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004127/0.2351, allocations: 264.3 kB / 0.8035 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007509/0.2358, allocations: 461.8 kB / 0.8039 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.2358, allocations: 0 / 0.8039 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009872/0.2368, allocations: 0.5826 MB / 0.8045 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2369, allocations: 33.7 kB / 0.8045 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2369, allocations: 7.984 kB / 0.8045 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.71e-06/0.2369, allocations: 4 kB / 0.8045 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.2373, allocations: 103.9 kB / 0.8046 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2374, allocations: 15.86 kB / 0.8046 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.2377, allocations: 51.81 kB / 0.8047 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.2377, allocations: 24 kB / 0.8047 GB, free: 7.109 MB / 0.6231 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.0001464/0.2379, allocations: 218.4 kB / 0.8049 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/0.238, allocations: 71.16 kB / 0.805 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.2381, allocations: 83.33 kB / 0.805 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2381, allocations: 4 kB / 0.805 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2381, allocations: 4 kB / 0.8051 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2382, allocations: 0 / 0.8051 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.2387, allocations: 0.6218 MB / 0.8057 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2388, allocations: 4 kB / 0.8057 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.2392, allocations: 83.89 kB / 0.8057 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2392, allocations: 0 / 0.8057 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.2392, allocations: 15.98 kB / 0.8058 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2393, allocations: 0 / 0.8058 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2393, allocations: 0 / 0.8058 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.2406, allocations: 0.7275 MB / 0.8065 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.2408, allocations: 192 kB / 0.8067 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.2409, allocations: 12 kB / 0.8067 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.2413, allocations: 39.95 kB / 0.8067 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.2414, allocations: 31.91 kB / 0.8067 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.2414, allocations: 19.98 kB / 0.8068 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004315/0.2419, allocations: 431 kB / 0.8072 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2419, allocations: 0 / 0.8072 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000531/0.2424, allocations: 219.3 kB / 0.8074 GB, free: 4.27 MB / 0.6231 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.001599/0.244, allocations: 1.281 MB / 0.8086 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.2456, allocations: 0.8049 MB / 0.8094 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2456, allocations: 0 / 0.8094 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.2461, allocations: 211.5 kB / 0.8096 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.2469, allocations: 204.2 kB / 0.8098 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/0.2539, allocations: 5.651 MB / 0.8153 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2543, allocations: 0.9219 MB / 0.8162 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003691/0.2546, allocations: 101.2 kB / 0.8163 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.255, allocations: 259.4 kB / 0.8166 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.255, allocations: 0 / 0.8166 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.2851, allocations: 13.91 MB / 0.8301 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.666, allocations: 19.34 kB / 0.8302 GB, free: 12.85 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.Continuous.Examples.LimPID_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)