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.001035/0.001035, allocations: 108 kB / 15.6 MB, free: 132 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.001977/0.001977, allocations: 193 kB / 16.53 MB, free: 6.391 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.308/1.308, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.615/1.615, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001304/0.001304, allocations: 65.88 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2164, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005242/0.2217, allocations: 4.138 MB / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002633/0.2243, allocations: 1.372 MB / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.2247, allocations: 23.94 kB / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.2251, allocations: 126.7 kB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.2254, allocations: 174.4 kB / 0.7892 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.2262, allocations: 414.8 kB / 0.7895 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008942/0.2271, allocations: 0.9555 MB / 0.7905 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006028/0.2278, allocations: 454.3 kB / 0.7909 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003666/0.2281, allocations: 330.7 kB / 0.7912 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.2285, allocations: 342.3 kB / 0.7916 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.2287, allocations: 92 kB / 0.7916 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.2288, allocations: 92 kB / 0.7917 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.2289, allocations: 171.5 kB / 0.7919 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.2293, allocations: 398 kB / 0.7923 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009021/0.2302, allocations: 1.028 MB / 0.7933 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2302, allocations: 0 / 0.7933 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2302, allocations: 0 / 0.7933 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.2302, allocations: 0 / 0.7933 GB, free: 3.258 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.001771/0.232, allocations: 1.081 MB / 0.7943 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.232, allocations: 8.031 kB / 0.7943 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.2321, allocations: 102.6 kB / 0.7944 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2323, allocations: 87.94 kB / 0.7945 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008085/0.2331, allocations: 0.5456 MB / 0.7951 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.2332, allocations: 45.69 kB / 0.7951 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.2333, allocations: 60.38 kB / 0.7952 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.2344, allocations: 0.6115 MB / 0.7958 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.2344, allocations: 7.906 kB / 0.7958 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.2345, allocations: 24 kB / 0.7958 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.2345, allocations: 12 kB / 0.7958 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009408/0.2354, allocations: 465 kB / 0.7962 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.2382, allocations: 2.008 MB / 0.7982 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000871/0.2391, allocations: 445.5 kB / 0.7986 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.2396, allocations: 238.1 kB / 0.7989 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.2396, allocations: 8.438 kB / 0.7989 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/0.2402, allocations: 269.1 kB / 0.7991 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.2403, allocations: 0 / 0.7991 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001313/0.2416, allocations: 0.5843 MB / 0.7997 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.2416, allocations: 67.83 kB / 0.7998 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.2421, allocations: 434.1 kB / 0.8002 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.2422, allocations: 37.7 kB / 0.8002 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.2424, allocations: 332.2 kB / 0.8005 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.2426, allocations: 161.7 kB / 0.8007 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.2427, allocations: 90.25 kB / 0.8008 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2429, allocations: 366.8 kB / 0.8011 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.2433, allocations: 169 kB / 0.8013 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.2437, allocations: 249.8 kB / 0.8015 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/0.2445, allocations: 456 kB / 0.8019 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2445, allocations: 0 / 0.8019 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001005/0.2455, allocations: 0.5661 MB / 0.8025 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.2456, allocations: 37.95 kB / 0.8025 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2456, allocations: 0 / 0.8025 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2456, allocations: 8 kB / 0.8025 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.2461, allocations: 111.8 kB / 0.8026 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2462, allocations: 7.938 kB / 0.8027 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.2465, allocations: 59.5 kB / 0.8027 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.2465, allocations: 16 kB / 0.8027 GB, free: 9.219 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.2468, allocations: 216.1 kB / 0.8029 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.2469, allocations: 59.28 kB / 0.803 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.247, allocations: 65.58 kB / 0.8031 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.247, allocations: 8 kB / 0.8031 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.247, allocations: 0 / 0.8031 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.247, allocations: 3.984 kB / 0.8031 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.2487, allocations: 1.178 MB / 0.8042 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2487, allocations: 0 / 0.8042 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.2492, allocations: 91.83 kB / 0.8043 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2492, allocations: 0 / 0.8043 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2492, allocations: 15.98 kB / 0.8043 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2492, allocations: 7.984 kB / 0.8043 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2492, allocations: 0 / 0.8043 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.2505, allocations: 0.7601 MB / 0.8051 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.2507, allocations: 172.3 kB / 0.8052 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.2508, allocations: 12 kB / 0.8052 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.2511, allocations: 23.97 kB / 0.8053 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.2512, allocations: 40.39 kB / 0.8053 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.2512, allocations: 12.06 kB / 0.8053 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003287/0.2515, allocations: 310.9 kB / 0.8056 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2515, allocations: 0 / 0.8056 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004211/0.2519, allocations: 139.5 kB / 0.8057 GB, free: 6.031 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 (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.00157/0.2535, allocations: 1.328 MB / 0.807 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.2546, allocations: 0.4897 MB / 0.8075 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2546, allocations: 4 kB / 0.8075 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.255, allocations: 218.3 kB / 0.8077 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.2558, allocations: 158.4 kB / 0.8079 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006895/0.2627, allocations: 4.878 MB / 0.8126 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.2632, allocations: 0.8937 MB / 0.8135 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.2635, allocations: 68.52 kB / 0.8136 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.2637, allocations: 219.4 kB / 0.8138 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.2638, allocations: 0 / 0.8138 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.2954, allocations: 11.14 MB / 0.8247 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/7.659, allocations: 2.656 kB / 0.8247 GB, free: 2.613 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)