Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.261/2.261, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001595, allocations: 186.6 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.76/2.76, allocations: 205.4 MB / 0.5766 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 99.17 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006321/0.0006323, allocations: 12.97 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.236, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.01737/0.2534, allocations: 2.625 MB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.256, allocations: 0.944 MB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.2565, allocations: 11.94 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.2566, allocations: 35.58 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006276/0.2573, allocations: 107.6 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.2581, allocations: 185.9 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007444/0.2589, allocations: 340.5 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/0.2594, allocations: 175.7 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.2597, allocations: 159.2 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.26, allocations: 143.1 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.2601, allocations: 12 kB / 0.9035 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.2602, allocations: 16 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.2603, allocations: 59.69 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2604, allocations: 101.5 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000653/0.2611, allocations: 427.2 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.2664, allocations: 0 / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2664, allocations: 0 / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.202e-05/0.2664, allocations: 0 / 0.9041 GB, free: 60.16 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001931/0.2684, allocations: 0.6919 MB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2684, allocations: 8.031 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.2686, allocations: 59.3 kB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.2696, allocations: 395.7 kB / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.2697, allocations: 32.98 kB / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.2698, allocations: 36 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.2711, allocations: 389.6 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.2712, allocations: 0 / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.2712, allocations: 16 kB / 0.9056 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.2713, allocations: 12 kB / 0.9056 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2725, allocations: 267.8 kB / 0.9059 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.2756, allocations: 1.336 MB / 0.9072 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.277, allocations: 308.5 kB / 0.9075 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.277, allocations: 7.938 kB / 0.9075 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006767/0.2777, allocations: 173.6 kB / 0.9077 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.767e-06/0.2777, allocations: 3.938 kB / 0.9077 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001635/0.2794, allocations: 385.8 kB / 0.908 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.2795, allocations: 85.11 kB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/0.2801, allocations: 345.6 kB / 0.9084 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.2802, allocations: 33.7 kB / 0.9085 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.2804, allocations: 236.9 kB / 0.9087 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.2806, allocations: 98.56 kB / 0.9088 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.2806, allocations: 12 kB / 0.9088 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2808, allocations: 350.8 kB / 0.9091 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.2813, allocations: 104.7 kB / 0.9092 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.2819, allocations: 168.3 kB / 0.9094 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.2824, allocations: 114.3 kB / 0.9095 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2825, allocations: 0 / 0.9095 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009784/0.2834, allocations: 354.8 kB / 0.9098 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2835, allocations: 4 kB / 0.9099 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.2835, allocations: 4 kB / 0.9099 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.2835, allocations: 7.984 kB / 0.9099 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.284, allocations: 71.78 kB / 0.9099 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2841, allocations: 7.984 kB / 0.9099 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.2844, allocations: 43.86 kB / 0.91 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.2845, allocations: 16 kB / 0.91 GB, free: 53.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0002545/0.2848, allocations: 173.6 kB / 0.9102 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.2848, allocations: 39.53 kB / 0.9102 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.285, allocations: 48.23 kB / 0.9102 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.285, allocations: 4 kB / 0.9103 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.285, allocations: 0 / 0.9103 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.285, allocations: 4 kB / 0.9103 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.2866, allocations: 0.8065 MB / 0.911 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2866, allocations: 0 / 0.911 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.287, allocations: 51.91 kB / 0.9111 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.2871, allocations: 3.984 kB / 0.9111 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.2871, allocations: 12 kB / 0.9111 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2871, allocations: 0 / 0.9111 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.2871, allocations: 4 kB / 0.9111 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.2884, allocations: 0.5197 MB / 0.9116 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.2885, allocations: 140.5 kB / 0.9118 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.2886, allocations: 8 kB / 0.9118 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.289, allocations: 23.97 kB / 0.9118 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.2891, allocations: 23.97 kB / 0.9118 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.2892, allocations: 11.98 kB / 0.9118 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004215/0.2896, allocations: 235.2 kB / 0.912 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2896, allocations: 64 / 0.912 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006023/0.2902, allocations: 95.59 kB / 0.9121 GB, free: 51.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001405/0.2904, allocations: 113 kB / 0.9122 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008305/0.2912, allocations: 272.2 kB / 0.9125 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2913, allocations: 4 kB / 0.9125 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.2917, allocations: 131.9 kB / 0.9126 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.2923, allocations: 76.84 kB / 0.9127 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2945, allocations: 0.9621 MB / 0.9136 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2948, allocations: 0.823 MB / 0.9144 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003263/0.2951, allocations: 51.25 kB / 0.9145 GB, free: 49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.2953, allocations: 27.44 kB / 0.9145 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of SimCode: time 1.262e-06/0.2953, allocations: 0 / 0.9145 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.01032/0.3056, allocations: 3.229 MB / 0.9177 GB, free: 45.77 MB / 0.6042 GB