Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.194/2.194, allocations: 252.6 MB / 265.2 MB, free: 5.719 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 181.6 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.267/2.267, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.002804/0.002802, allocations: 93.94 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.215e-05/4.227e-05, allocations: 8 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8874/1.116, allocations: 138.2 MB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.117, allocations: 83.31 kB / 1.03 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04123/1.158, allocations: 6.949 MB / 1.037 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.785e-06/1.158, allocations: 0 / 1.037 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.565e-05/1.158, allocations: 12.12 kB / 1.037 GB, free: 6.508 MB / 0.6511 GB 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.001834/1.16, allocations: 0.5916 MB / 1.037 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/1.16, allocations: 12.03 kB / 1.037 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/1.16, allocations: 51.39 kB / 1.037 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/1.162, allocations: 376.7 kB / 1.038 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/1.162, allocations: 23.72 kB / 1.038 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/1.162, allocations: 31.62 kB / 1.038 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/1.163, allocations: 338.1 kB / 1.038 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/1.163, allocations: 4 kB / 1.038 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/1.163, allocations: 6.75 kB / 1.038 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/1.163, allocations: 8 kB / 1.038 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/1.164, allocations: 215.3 kB / 1.038 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/1.168, allocations: 1.245 MB / 1.04 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/1.17, allocations: 234.4 kB / 1.04 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/1.17, allocations: 102.8 kB / 1.04 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/1.17, allocations: 4.188 kB / 1.04 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/1.17, allocations: 42.58 kB / 1.04 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 4.769e-06/1.17, allocations: 3.938 kB / 1.04 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.0009922/1.171, allocations: 222.5 kB / 1.04 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/1.171, allocations: 154.2 kB / 1.04 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/1.172, allocations: 305.5 kB / 1.041 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/1.172, allocations: 29.52 kB / 1.041 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/1.173, allocations: 220 kB / 1.041 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/1.173, allocations: 70.78 kB / 1.041 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/1.173, allocations: 7.625 kB / 1.041 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.173, allocations: 346.5 kB / 1.041 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/1.173, allocations: 74.12 kB / 1.041 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/1.174, allocations: 141 kB / 1.041 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/1.174, allocations: 82.92 kB / 1.041 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.174, allocations: 3.984 kB / 1.041 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001102/1.175, allocations: 251.6 kB / 1.042 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/1.176, allocations: 4 kB / 1.042 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.176, allocations: 3.938 kB / 1.042 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/1.176, allocations: 12.08 kB / 1.042 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/1.176, allocations: 51.16 kB / 1.042 GB, free: 2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/1.176, allocations: 7.938 kB / 1.042 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/1.177, allocations: 51.42 kB / 1.042 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/1.177, allocations: 12 kB / 1.042 GB, free: 1.934 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete 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.0002083/1.177, allocations: 116.1 kB / 1.042 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/1.178, allocations: 35.44 kB / 1.042 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/1.178, allocations: 39.81 kB / 1.042 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.178, allocations: 3.953 kB / 1.042 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.178, allocations: 0 / 1.042 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.178, allocations: 3.938 kB / 1.042 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/1.179, allocations: 420.6 kB / 1.042 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.179, allocations: 0 / 1.042 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/1.18, allocations: 51.91 kB / 1.042 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/1.18, allocations: 0 / 1.042 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/1.18, allocations: 7.312 kB / 1.042 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/1.18, allocations: 0 / 1.042 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.18, allocations: 3.953 kB / 1.043 GB, free: 1.332 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/1.181, allocations: 426.6 kB / 1.043 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/1.182, allocations: 137.8 kB / 1.043 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.182, allocations: 11.81 kB / 1.043 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/1.183, allocations: 27.42 kB / 1.043 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/1.183, allocations: 18.91 kB / 1.043 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/1.183, allocations: 11.94 kB / 1.043 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006294/1.183, allocations: 236.4 kB / 1.043 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.052e-06/1.183, allocations: 7.938 kB / 1.043 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008508/1.184, allocations: 78.38 kB / 1.043 GB, free: 0.5547 MB / 0.6511 GB 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) * 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.0002572/1.185, allocations: 105 kB / 1.044 GB, free: 460 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008208/1.185, allocations: 187 kB / 1.044 GB, free: 336 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.185, allocations: 0 / 1.044 GB, free: 336 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/1.186, allocations: 103.1 kB / 1.044 GB, free: 264 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.187, allocations: 78.16 kB / 1.044 GB, free: 208 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/1.19, allocations: 0.5056 MB / 1.044 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/1.19, allocations: 0.8031 MB / 1.045 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004715/1.191, allocations: 34.97 kB / 1.045 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/1.191, allocations: 31.42 kB / 1.045 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of SimCode: time 1.203e-05/1.191, allocations: 0 / 1.045 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of Templates: time 0.01801/1.209, allocations: 3.318 MB / 1.048 GB, free: 11.57 MB / 0.6667 GB