Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001191/0.001191, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 189.2 kB / 16.25 MB, free: 6.625 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 / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.81 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3836, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004635/0.3883, allocations: 3.052 MB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.3901, allocations: 0.8923 MB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.3904, allocations: 11.94 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.3906, allocations: 43.58 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.3908, allocations: 71.42 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.3913, allocations: 203 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000458/0.3918, allocations: 491.2 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.3922, allocations: 213.6 kB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.3924, allocations: 187.2 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.3926, allocations: 175 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.3927, allocations: 44 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/0.3928, allocations: 44 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.3929, allocations: 95.67 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.393, allocations: 198.8 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.3935, allocations: 0.4947 MB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3935, allocations: 0 / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3935, allocations: 4 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3935, allocations: 0 / 1.074 GB, free: 4.625 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.001055/0.3946, allocations: 0.709 MB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3946, allocations: 12.03 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.3947, allocations: 48.38 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.3953, allocations: 392.3 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.3953, allocations: 29.03 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.3954, allocations: 28.38 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/0.3959, allocations: 345.4 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.396, allocations: 3.984 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.396, allocations: 16 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.396, allocations: 8 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.3964, allocations: 210.1 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.3979, allocations: 1.186 MB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.3985, allocations: 234.7 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.3987, allocations: 117.9 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.3988, allocations: 4 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3988, allocations: 34.94 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.3988, allocations: 0 / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0006639/0.3995, allocations: 293 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.3996, allocations: 106.8 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.3999, allocations: 341.6 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3999, allocations: 25.7 kB / 1.078 GB, free: 284 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4001, allocations: 232.2 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.4002, allocations: 70.91 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.4003, allocations: 57.69 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4004, allocations: 342.8 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.4006, allocations: 79.95 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.4008, allocations: 148.2 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.4012, allocations: 203.9 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4012, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004752/0.4017, allocations: 287.8 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4017, allocations: 9.406 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4017, allocations: 3.984 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4017, allocations: 7.938 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.4019, allocations: 47.98 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.402, allocations: 11.92 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.4022, allocations: 31.95 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.4022, allocations: 12 kB / 1.079 GB, free: 14.7 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.0001777/0.4024, allocations: 162.2 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.4024, allocations: 35.53 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.52e-05/0.4025, allocations: 39.36 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4025, allocations: 4 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4025, allocations: 0 / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4026, allocations: 7.969 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.403, allocations: 397.2 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.403, allocations: 4 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.4032, allocations: 35.98 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4032, allocations: 0 / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.4033, allocations: 11.98 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4033, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4033, allocations: 4 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.4039, allocations: 428.8 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.404, allocations: 124.7 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.4041, allocations: 11.98 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.4043, allocations: 15.98 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.4043, allocations: 11.98 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.4044, allocations: 11.98 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002257/0.4046, allocations: 235.2 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4046, allocations: 0 / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003198/0.4049, allocations: 71.84 kB / 1.081 GB, free: 13.02 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.0001297/0.4051, allocations: 111.2 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.4055, allocations: 207.6 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4056, allocations: 0 / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.4057, allocations: 107.3 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.4064, allocations: 78.97 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.4077, allocations: 0.8465 MB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.408, allocations: 0.7873 MB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.4082, allocations: 38.95 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.4083, allocations: 31.44 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.4083, allocations: 0 / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.006907/0.4152, allocations: 3.108 MB / 1.086 GB, free: 7.695 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)