Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 252 MB / 267.9 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 182.4 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008468/0.0008468, allocations: 88.8 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004385, allocations: 12.62 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.3733, allocations: 135.6 MB / 1.034 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.3737, allocations: 87.94 kB / 1.034 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01368/0.3874, allocations: 5.521 MB / 1.039 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.096e-06/0.3874, allocations: 4 kB / 1.039 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.3874, allocations: 8 kB / 1.039 GB, free: 2.336 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001049/0.3885, allocations: 0.5848 MB / 1.04 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.3886, allocations: 11.97 kB / 1.04 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.3887, allocations: 40.41 kB / 1.04 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.3891, allocations: 307.5 kB / 1.04 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3892, allocations: 16.94 kB / 1.04 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.3892, allocations: 28.38 kB / 1.04 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.3898, allocations: 321.9 kB / 1.04 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3899, allocations: 192 / 1.04 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.3899, allocations: 15.94 kB / 1.04 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.3899, allocations: 4 kB / 1.04 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.3905, allocations: 266 kB / 1.041 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.392, allocations: 1.12 MB / 1.042 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.3927, allocations: 288.8 kB / 1.042 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.3929, allocations: 132.8 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.393, allocations: 11.92 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.393, allocations: 38.56 kB / 1.042 GB, free: 14.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.393, allocations: 0 / 1.042 GB, free: 14.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0008181/0.3938, allocations: 357.1 kB / 1.043 GB, free: 14.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.3939, allocations: 85.11 kB / 1.043 GB, free: 14.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.3942, allocations: 291.4 kB / 1.043 GB, free: 14.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3942, allocations: 29.7 kB / 1.043 GB, free: 14.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3944, allocations: 176.2 kB / 1.043 GB, free: 14.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.3944, allocations: 63.02 kB / 1.043 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.3944, allocations: 4 kB / 1.043 GB, free: 13.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3946, allocations: 338.8 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.3948, allocations: 103.9 kB / 1.044 GB, free: 13.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3951, allocations: 140.8 kB / 1.044 GB, free: 13.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.3955, allocations: 224.8 kB / 1.044 GB, free: 13.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3956, allocations: 4 kB / 1.044 GB, free: 13.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005604/0.3961, allocations: 281.2 kB / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.782e-05/0.3962, allocations: 101.8 kB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3962, allocations: 3.938 kB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3962, allocations: 4.031 kB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.3965, allocations: 51.95 kB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3965, allocations: 7.938 kB / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.3967, allocations: 35.83 kB / 1.044 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3967, allocations: 8 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.3967, allocations: 4 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004132/0.3971, allocations: 203.2 kB / 1.045 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3971, allocations: 12.02 kB / 1.045 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.3971, allocations: 0 / 1.045 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.3973, allocations: 43.92 kB / 1.045 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.3973, allocations: 0 / 1.045 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.3975, allocations: 39.72 kB / 1.045 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3975, allocations: 4 kB / 1.045 GB, free: 12.35 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001754/0.3977, allocations: 229.1 kB / 1.045 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.3977, allocations: 23.72 kB / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/0.3983, allocations: 286 kB / 1.045 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3984, allocations: 4 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3984, allocations: 3.984 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3984, allocations: 0 / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009652/0.3994, allocations: 0.7215 MB / 1.046 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3994, allocations: 3.984 kB / 1.046 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3996, allocations: 47.97 kB / 1.046 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3996, allocations: 0 / 1.046 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3996, allocations: 8 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3996, allocations: 0 / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3996, allocations: 7.875 kB / 1.046 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008315/0.4005, allocations: 0.4939 MB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.4006, allocations: 104.8 kB / 1.047 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.4006, allocations: 16.05 kB / 1.047 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.4008, allocations: 27.92 kB / 1.047 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.4009, allocations: 15.97 kB / 1.047 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.4009, allocations: 4 kB / 1.047 GB, free: 10.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002063/0.4011, allocations: 214 kB / 1.047 GB, free: 10.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4011, allocations: 0 / 1.047 GB, free: 10.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003587/0.4015, allocations: 91.69 kB / 1.047 GB, free: 9.961 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001463/0.4016, allocations: 115.1 kB / 1.047 GB, free: 9.836 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007194/0.4023, allocations: 339.7 kB / 1.047 GB, free: 9.504 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4024, allocations: 4 kB / 1.047 GB, free: 9.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.4026, allocations: 121.5 kB / 1.047 GB, free: 9.383 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.4031, allocations: 54.59 kB / 1.048 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009632/0.4041, allocations: 0.6053 MB / 1.048 GB, free: 8.695 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.4044, allocations: 0.7677 MB / 1.049 GB, free: 7.902 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.4046, allocations: 26.28 kB / 1.049 GB, free: 7.879 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.4046, allocations: 23.44 kB / 1.049 GB, free: 7.855 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.4046, allocations: 4 kB / 1.049 GB, free: 7.852 MB / 0.698 GB Notification: Performance of Templates: time 0.00595/0.4106, allocations: 2.555 MB / 1.051 GB, free: 5.332 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)