Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadModel(Buildings): time 3.888/3.888, allocations: 433.3 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.51e-05, allocations: 4 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/0.5781, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.7803, allocations: 131.6 MB / 0.7574 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.7806, allocations: 87.55 kB / 0.7574 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03416/0.8148, allocations: 7.522 MB / 0.7648 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.037e-06/0.8149, allocations: 4 kB / 0.7648 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.631e-05/0.8149, allocations: 8.219 kB / 0.7648 GB, free: 4.359 MB / 0.6355 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.00205/0.817, allocations: 0.6522 MB / 0.7654 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.8171, allocations: 12.03 kB / 0.7655 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.8174, allocations: 55.3 kB / 0.7655 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.8188, allocations: 396.3 kB / 0.7659 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.8189, allocations: 12 kB / 0.7659 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.819, allocations: 24 kB / 0.7659 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001223/0.8202, allocations: 233.5 kB / 0.7661 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.8217, allocations: 337.7 kB / 0.7665 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.8218, allocations: 0 / 0.7665 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-05/0.8219, allocations: 0 / 0.7665 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.8219, allocations: 15.94 kB / 0.7665 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.8263, allocations: 1.307 MB / 0.7678 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.8278, allocations: 286.7 kB / 0.768 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.8283, allocations: 117.4 kB / 0.7681 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.8284, allocations: 4 kB / 0.7681 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006863/0.8291, allocations: 161.3 kB / 0.7683 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 5.055e-06/0.8291, allocations: 0 / 0.7683 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.001247/0.8304, allocations: 267 kB / 0.7686 GB, free: 316 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.8306, allocations: 132.5 kB / 0.7687 GB, free: 152 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008226/0.8314, allocations: 279 kB / 0.7689 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.089e-05/0.8315, allocations: 33.7 kB / 0.769 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.8319, allocations: 232.2 kB / 0.7692 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.8322, allocations: 106.5 kB / 0.7693 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.8322, allocations: 0 / 0.7693 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000324/0.8326, allocations: 350.8 kB / 0.7696 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.833, allocations: 84 kB / 0.7697 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.8337, allocations: 155.2 kB / 0.7699 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.8342, allocations: 93.59 kB / 0.77 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.8342, allocations: 3.938 kB / 0.77 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001344/0.8356, allocations: 294.4 kB / 0.7702 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004178/0.836, allocations: 465.8 kB / 0.7707 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.836, allocations: 4 kB / 0.7707 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.8361, allocations: 0 / 0.7707 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.8368, allocations: 67.91 kB / 0.7707 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.8369, allocations: 4 kB / 0.7708 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.8375, allocations: 39.81 kB / 0.7708 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.8376, allocations: 12 kB / 0.7708 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.8376, allocations: 4 kB / 0.7708 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00106/0.8387, allocations: 215.8 kB / 0.771 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.8387, allocations: 3.984 kB / 0.771 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.8388, allocations: 4 kB / 0.771 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.8394, allocations: 55.92 kB / 0.7711 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.8394, allocations: 4.078 kB / 0.7711 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.8399, allocations: 39.72 kB / 0.7711 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.84, allocations: 16 kB / 0.7711 GB, free: 13.56 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002541/0.8403, allocations: 117 kB / 0.7712 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.8405, allocations: 31.62 kB / 0.7713 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.8407, allocations: 40.5 kB / 0.7713 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.8408, allocations: 11.94 kB / 0.7713 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.469e-06/0.8408, allocations: 0 / 0.7713 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.8408, allocations: 7.938 kB / 0.7713 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.8434, allocations: 0.7484 MB / 0.7721 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.046e-06/0.8435, allocations: 0 / 0.7721 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.8442, allocations: 51.91 kB / 0.7721 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.8442, allocations: 4 kB / 0.7721 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.8443, allocations: 8 kB / 0.7721 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.322e-06/0.8443, allocations: 0 / 0.7721 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.8443, allocations: 3.953 kB / 0.7721 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.8461, allocations: 495.2 kB / 0.7726 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.8465, allocations: 136.7 kB / 0.7727 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.8467, allocations: 0 / 0.7727 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/0.8473, allocations: 32.05 kB / 0.7728 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.8475, allocations: 27.91 kB / 0.7728 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.8476, allocations: 8 kB / 0.7728 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005757/0.8482, allocations: 216.5 kB / 0.773 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.09e-06/0.8482, allocations: 0 / 0.773 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001486/0.8497, allocations: 147.3 kB / 0.7731 GB, free: 11.41 MB / 0.6511 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.and3.u1) * Number of discrete states: 1 (con.hys.y) * 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.0002997/0.85, allocations: 114.1 kB / 0.7732 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.8517, allocations: 387 kB / 0.7736 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.977e-06/0.8518, allocations: 0 / 0.7736 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.8523, allocations: 119.9 kB / 0.7737 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.8534, allocations: 72.09 kB / 0.7738 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.8561, allocations: 0.5629 MB / 0.7743 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/0.8571, allocations: 0.8316 MB / 0.7752 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008002/0.8579, allocations: 63.22 kB / 0.7752 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.8582, allocations: 27.44 kB / 0.7752 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of SimCode: time 2.256e-06/0.8582, allocations: 0 / 0.7752 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of Templates: time 0.02153/0.8797, allocations: 4.063 MB / 0.7792 GB, free: 5.148 MB / 0.6511 GB