Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") 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: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 199.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 62.2 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005342/0.3768, allocations: 3.014 MB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3787, allocations: 0.9156 MB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.379, allocations: 11.94 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.3792, allocations: 67.31 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.3794, allocations: 91.17 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.38, allocations: 227 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.3805, allocations: 487.2 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.3809, allocations: 217.6 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.3811, allocations: 179.2 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.3814, allocations: 179 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.031e-05/0.3814, allocations: 44 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.3815, allocations: 40 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.3816, allocations: 95.67 kB / 1.074 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.3818, allocations: 210.8 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005563/0.3824, allocations: 0.4947 MB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.3824, allocations: 0 / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3824, allocations: 0 / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3824, allocations: 0 / 1.074 GB, free: 4.191 MB / 0.8262 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.001256/0.3837, allocations: 0.7051 MB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3837, allocations: 12.03 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.3838, allocations: 52.38 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.3844, allocations: 388.3 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.3845, allocations: 25.03 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.3845, allocations: 28.38 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.3851, allocations: 341.4 kB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3852, allocations: 4 kB / 1.076 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.3852, allocations: 8 kB / 1.076 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.3852, allocations: 8 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.3857, allocations: 222.1 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.3874, allocations: 1.186 MB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.388, allocations: 238.7 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.3882, allocations: 115.2 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.3882, allocations: 0 / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3883, allocations: 34.94 kB / 1.078 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.3883, allocations: 0 / 1.078 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0007519/0.389, allocations: 296.6 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.3891, allocations: 106.8 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.3897, allocations: 341.6 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.3897, allocations: 29.7 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.3899, allocations: 224.2 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.39, allocations: 78.89 kB / 1.079 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3901, allocations: 53.64 kB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3903, allocations: 346.8 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.3905, allocations: 79.95 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3908, allocations: 148.1 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.3913, allocations: 212.3 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3913, allocations: 4 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005182/0.3918, allocations: 281.8 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3919, allocations: 4 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3919, allocations: 4 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3919, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.3921, allocations: 55.91 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3922, allocations: 8.125 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.3924, allocations: 39.75 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3924, allocations: 8 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001793/0.3926, allocations: 161.7 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.3927, allocations: 39.53 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.529e-05/0.3928, allocations: 35.36 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3928, allocations: 0 / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3928, allocations: 4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3928, allocations: 7.984 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.3933, allocations: 393.2 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3933, allocations: 0 / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.3935, allocations: 39.97 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3935, allocations: 4 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3936, allocations: 4 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3936, allocations: 4 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3936, allocations: 0 / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.3943, allocations: 429.7 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3944, allocations: 132.6 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.3945, allocations: 4 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3947, allocations: 11.98 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.3947, allocations: 19.97 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3948, allocations: 4 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002488/0.395, allocations: 247.2 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.395, allocations: 0 / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000338/0.3954, allocations: 71.78 kB / 1.081 GB, free: 12.59 MB / 0.8419 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) * 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 (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.0001278/0.3955, allocations: 103.2 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005051/0.396, allocations: 218.2 kB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.396, allocations: 4 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.3962, allocations: 103.8 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.3969, allocations: 78.81 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3983, allocations: 0.7025 MB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.3987, allocations: 0.7912 MB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.3988, allocations: 34.95 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.3989, allocations: 31.42 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.3989, allocations: 0 / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of Templates: time 0.006743/0.4057, allocations: 3.18 MB / 1.086 GB, free: 7.34 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)