Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresis.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002514/0.002519, allocations: 355.6 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.423/1.423, allocations: 165.8 MB / 183.1 MB, free: 5.457 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.759/3.759, allocations: 410.8 MB / 0.6001 GB, free: 15.29 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001778/0.001777, allocations: 198.8 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.000468, allocations: 8 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4097, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.5856, allocations: 105 MB / 0.9113 GB, free: 3.633 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.586, allocations: 83.95 kB / 0.9113 GB, free: 3.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02837/0.6143, allocations: 6.929 MB / 0.9181 GB, free: 12.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6144, allocations: 0 / 0.9181 GB, free: 12.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.58e-05/0.6145, allocations: 12.12 kB / 0.9181 GB, free: 12.59 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001369/0.6158, allocations: 0.6504 MB / 0.9188 GB, free: 11.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.6159, allocations: 8.031 kB / 0.9188 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.616, allocations: 47.44 kB / 0.9188 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.6168, allocations: 383.3 kB / 0.9192 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.6168, allocations: 24.66 kB / 0.9192 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.6169, allocations: 28 kB / 0.9192 GB, free: 11.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/0.6179, allocations: 369.9 kB / 0.9196 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.6179, allocations: 4 kB / 0.9196 GB, free: 10.97 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.618, allocations: 8 kB / 0.9196 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.618, allocations: 11.94 kB / 0.9196 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008533/0.6188, allocations: 246.1 kB / 0.9198 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.6211, allocations: 1.244 MB / 0.921 GB, free: 9.391 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.6222, allocations: 285.9 kB / 0.9213 GB, free: 9.105 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.6226, allocations: 130.2 kB / 0.9214 GB, free: 8.977 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.6226, allocations: 4.188 kB / 0.9214 GB, free: 8.973 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.6227, allocations: 42.73 kB / 0.9215 GB, free: 8.922 MB / 474.7 MB Notification: Performance of pre-optimization done (n=22): time 4.619e-06/0.6227, allocations: 0 / 0.9215 GB, free: 8.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=22): time 0.001179/0.6239, allocations: 349.2 kB / 0.9218 GB, free: 8.578 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.624, allocations: 158.2 kB / 0.922 GB, free: 8.387 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.6245, allocations: 345.6 kB / 0.9223 GB, free: 8.043 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.6246, allocations: 33.7 kB / 0.9223 GB, free: 8.004 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.6248, allocations: 212.3 kB / 0.9225 GB, free: 7.789 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.079e-05/0.6249, allocations: 78.83 kB / 0.9226 GB, free: 7.711 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.6249, allocations: 12 kB / 0.9226 GB, free: 7.699 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6251, allocations: 346.8 kB / 0.923 GB, free: 7.352 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.6255, allocations: 91.95 kB / 0.923 GB, free: 7.262 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.6259, allocations: 159.7 kB / 0.9232 GB, free: 7.078 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.6263, allocations: 116.5 kB / 0.9233 GB, free: 6.965 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6263, allocations: 0 / 0.9233 GB, free: 6.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008997/0.6272, allocations: 301.7 kB / 0.9236 GB, free: 6.664 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6272, allocations: 4 kB / 0.9236 GB, free: 6.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6272, allocations: 4 kB / 0.9236 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.6273, allocations: 0 / 0.9236 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.6277, allocations: 55.91 kB / 0.9237 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6277, allocations: 0 / 0.9237 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.6281, allocations: 51.84 kB / 0.9237 GB, free: 6.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.6282, allocations: 12 kB / 0.9237 GB, free: 6.539 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002423/0.6284, allocations: 165.7 kB / 0.9239 GB, free: 6.367 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.6285, allocations: 31.62 kB / 0.9239 GB, free: 6.336 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.6287, allocations: 43.45 kB / 0.9239 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6287, allocations: 0 / 0.9239 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6287, allocations: 0 / 0.9239 GB, free: 6.289 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.6287, allocations: 8 kB / 0.924 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.6294, allocations: 413.2 kB / 0.9243 GB, free: 5.828 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6294, allocations: 3.953 kB / 0.9244 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.6298, allocations: 43.97 kB / 0.9244 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6298, allocations: 0 / 0.9244 GB, free: 5.781 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.6299, allocations: 8 kB / 0.9244 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6299, allocations: 3.984 kB / 0.9244 GB, free: 5.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6299, allocations: 0 / 0.9244 GB, free: 5.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.6312, allocations: 0.4911 MB / 0.9249 GB, free: 5.266 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.6313, allocations: 132.7 kB / 0.925 GB, free: 5.117 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.6314, allocations: 4 kB / 0.925 GB, free: 5.113 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.6318, allocations: 35.92 kB / 0.925 GB, free: 5.078 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.6319, allocations: 19.95 kB / 0.9251 GB, free: 5.059 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.632, allocations: 8 kB / 0.9251 GB, free: 5.051 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003706/0.6323, allocations: 251.2 kB / 0.9253 GB, free: 4.809 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6324, allocations: 0 / 0.9253 GB, free: 4.809 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004517/0.6328, allocations: 75.69 kB / 0.9254 GB, free: 4.734 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001578/0.633, allocations: 107.2 kB / 0.9255 GB, free: 4.621 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000805/0.6338, allocations: 227.8 kB / 0.9257 GB, free: 4.398 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6338, allocations: 0 / 0.9257 GB, free: 4.398 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.6342, allocations: 111.9 kB / 0.9258 GB, free: 4.289 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.635, allocations: 77.75 kB / 0.9259 GB, free: 4.215 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.637, allocations: 0.8627 MB / 0.9267 GB, free: 3.328 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.6375, allocations: 0.7992 MB / 0.9275 GB, free: 2.504 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.6377, allocations: 46.94 kB / 0.9276 GB, free: 2.461 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.6379, allocations: 27.44 kB / 0.9276 GB, free: 2.434 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6379, allocations: 0 / 0.9276 GB, free: 2.434 MB / 474.7 MB Notification: Performance of Templates: time 0.3991/1.037, allocations: 3.324 MB / 0.9308 GB, free: 112.7 MB / 474.7 MB