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: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 194.7 kB / 16.14 MB, free: 6.703 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.415/1.415, allocations: 205.1 MB / 222 MB, free: 4.781 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.691/1.691, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001387/0.001387, allocations: 60.59 kB / 0.6708 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2077, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005285/0.213, allocations: 4.148 MB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003399/0.2164, allocations: 1.333 MB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.2177, allocations: 19.94 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.2185, allocations: 91.2 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000867/0.2195, allocations: 146.8 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.2207, allocations: 390.5 kB / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.222, allocations: 0.8773 MB / 0.7895 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.2227, allocations: 426.3 kB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.2232, allocations: 270.7 kB / 0.7902 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.2236, allocations: 314.2 kB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.2237, allocations: 40 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.2238, allocations: 44 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2239, allocations: 127.5 kB / 0.7907 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.2243, allocations: 346 kB / 0.791 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.225, allocations: 0.9928 MB / 0.792 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.225, allocations: 0 / 0.792 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.225, allocations: 0 / 0.792 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.575e-05/0.2251, allocations: 0 / 0.792 GB, free: 4.406 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.001908/0.227, allocations: 1.077 MB / 0.793 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.227, allocations: 15.97 kB / 0.793 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.2272, allocations: 83.98 kB / 0.7931 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.228, allocations: 0.5494 MB / 0.7936 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.228, allocations: 41.69 kB / 0.7937 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.2281, allocations: 56.38 kB / 0.7937 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.2292, allocations: 0.6156 MB / 0.7943 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.2292, allocations: 0 / 0.7943 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.2293, allocations: 28 kB / 0.7944 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.2293, allocations: 12 kB / 0.7944 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.2303, allocations: 457 kB / 0.7948 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.2331, allocations: 2.016 MB / 0.7968 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008916/0.2341, allocations: 445.2 kB / 0.7972 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.2345, allocations: 242.1 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.2346, allocations: 4.438 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.2351, allocations: 265.2 kB / 0.7977 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 1.814e-06/0.2352, allocations: 0 / 0.7977 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001265/0.2364, allocations: 0.5807 MB / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2365, allocations: 55.84 kB / 0.7983 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.237, allocations: 450 kB / 0.7987 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.237, allocations: 37.7 kB / 0.7988 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.2372, allocations: 320.3 kB / 0.7991 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.2374, allocations: 169.5 kB / 0.7992 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.2375, allocations: 90.25 kB / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2377, allocations: 366.8 kB / 0.7997 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.2381, allocations: 165 kB / 0.7998 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.2385, allocations: 249.8 kB / 0.8001 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.2393, allocations: 456 kB / 0.8005 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2393, allocations: 0 / 0.8005 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001009/0.2403, allocations: 0.5623 MB / 0.8011 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.2404, allocations: 41.62 kB / 0.8011 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2404, allocations: 7.938 kB / 0.8011 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.2404, allocations: 4.25 kB / 0.8011 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.2409, allocations: 123.8 kB / 0.8012 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.2409, allocations: 4 kB / 0.8012 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.2413, allocations: 63.5 kB / 0.8013 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.2413, allocations: 16 kB / 0.8013 GB, free: 10.48 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.0002387/0.2416, allocations: 216.1 kB / 0.8015 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.2416, allocations: 59.27 kB / 0.8016 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.2418, allocations: 61.59 kB / 0.8016 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2418, allocations: 8 kB / 0.8016 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2418, allocations: 0 / 0.8016 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2418, allocations: 3.984 kB / 0.8016 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.2435, allocations: 1.181 MB / 0.8028 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2435, allocations: 0 / 0.8028 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.244, allocations: 95.88 kB / 0.8029 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.244, allocations: 4 kB / 0.8029 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.2441, allocations: 8 kB / 0.8029 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2441, allocations: 4 kB / 0.8029 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2441, allocations: 0 / 0.8029 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.2454, allocations: 0.7639 MB / 0.8036 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.2456, allocations: 172.3 kB / 0.8038 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.2457, allocations: 12 kB / 0.8038 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.246, allocations: 31.97 kB / 0.8038 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/0.2461, allocations: 36.38 kB / 0.8039 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.2462, allocations: 16 kB / 0.8039 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003133/0.2465, allocations: 306.9 kB / 0.8042 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2465, allocations: 0 / 0.8042 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004385/0.2469, allocations: 139.5 kB / 0.8043 GB, free: 7.281 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.0001326/0.2471, allocations: 114.9 kB / 0.8044 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009261/0.248, allocations: 485 kB / 0.8049 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.248, allocations: 0 / 0.8049 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.2485, allocations: 222.3 kB / 0.8051 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.2492, allocations: 144.9 kB / 0.8052 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.2519, allocations: 1.613 MB / 0.8068 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.2524, allocations: 0.8902 MB / 0.8077 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.2527, allocations: 64.59 kB / 0.8078 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.2529, allocations: 39.44 kB / 0.8078 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2529, allocations: 0 / 0.8078 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of Templates: time 0.01083/0.2637, allocations: 5.59 MB / 0.8132 GB, free: 14.14 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (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 & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)