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.443/1.443, allocations: 252 MB / 267.6 MB, free: 10.93 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.001122/0.001122, allocations: 180.2 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5783 GB, free: 20.52 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.00121/0.00121, allocations: 98.64 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 9.875 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2253, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002132/0.2275, allocations: 1.94 MB / 0.9027 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2286, allocations: 0.8076 MB / 0.9035 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.2288, allocations: 4 kB / 0.9035 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.2289, allocations: 43.58 kB / 0.9036 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.924e-05/0.229, allocations: 35.72 kB / 0.9036 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.2293, allocations: 79.91 kB / 0.9037 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.2295, allocations: 336.2 kB / 0.904 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.2297, allocations: 115.7 kB / 0.9041 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.2299, allocations: 87.52 kB / 0.9042 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.23, allocations: 103.3 kB / 0.9043 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.23, allocations: 12 kB / 0.9043 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.2301, allocations: 8 kB / 0.9043 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.2301, allocations: 35.78 kB / 0.9043 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.2301, allocations: 73.52 kB / 0.9044 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.2304, allocations: 375.3 kB / 0.9048 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2304, allocations: 4 kB / 0.9048 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2304, allocations: 0 / 0.9048 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2304, allocations: 0 / 0.9048 GB, free: 60.23 MB / 0.6042 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.0007713/0.2312, allocations: 0.5845 MB / 0.9053 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2312, allocations: 15.97 kB / 0.9054 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.2313, allocations: 43.53 kB / 0.9054 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.2317, allocations: 322.8 kB / 0.9057 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2317, allocations: 20.56 kB / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.2317, allocations: 24 kB / 0.9058 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.2322, allocations: 301.3 kB / 0.906 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2323, allocations: 0 / 0.906 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.2323, allocations: 15.98 kB / 0.9061 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2323, allocations: 4 kB / 0.9061 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.2328, allocations: 230.1 kB / 0.9063 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.234, allocations: 1.162 MB / 0.9074 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.2345, allocations: 218.7 kB / 0.9076 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.2347, allocations: 112.8 kB / 0.9077 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.2347, allocations: 4 kB / 0.9077 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.2348, allocations: 38.5 kB / 0.9078 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2348, allocations: 0 / 0.9078 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0006583/0.2354, allocations: 293.2 kB / 0.908 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2355, allocations: 55.34 kB / 0.9081 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.2357, allocations: 295 kB / 0.9084 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.2357, allocations: 25.7 kB / 0.9084 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.2358, allocations: 184.1 kB / 0.9086 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.2359, allocations: 63.12 kB / 0.9086 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.2359, allocations: 8 kB / 0.9086 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.2359, allocations: 342.8 kB / 0.909 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.2361, allocations: 79.95 kB / 0.9091 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.2363, allocations: 122.3 kB / 0.9092 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.2366, allocations: 94.92 kB / 0.9093 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2366, allocations: 4 kB / 0.9093 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004651/0.237, allocations: 261.1 kB / 0.9095 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.2371, allocations: 111.6 kB / 0.9096 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2371, allocations: 3.984 kB / 0.9096 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2371, allocations: 7.953 kB / 0.9096 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2373, allocations: 52.03 kB / 0.9097 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2374, allocations: 3.938 kB / 0.9097 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.2375, allocations: 27.83 kB / 0.9097 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.2375, allocations: 8 kB / 0.9097 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-06/0.2375, allocations: 4 kB / 0.9097 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003824/0.2379, allocations: 206.2 kB / 0.9099 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.2379, allocations: 3.984 kB / 0.9099 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-06/0.2379, allocations: 0 / 0.9099 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.2381, allocations: 52 kB / 0.91 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.2381, allocations: 4 kB / 0.91 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.2383, allocations: 27.83 kB / 0.91 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2383, allocations: 4 kB / 0.91 GB, free: 54.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.cheYMinMax.y,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 (23): * Single equations (assignments): 23 * 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.0001298/0.2384, allocations: 225.1 kB / 0.9102 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.2385, allocations: 35.56 kB / 0.9103 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.239, allocations: 245.9 kB / 0.9105 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.239, allocations: 4 kB / 0.9105 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.239, allocations: 4 kB / 0.9105 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.239, allocations: 0 / 0.9105 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.2393, allocations: 353.3 kB / 0.9108 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2393, allocations: 3.953 kB / 0.9108 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.2395, allocations: 43.91 kB / 0.9109 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2395, allocations: 0 / 0.9109 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.2395, allocations: 12 kB / 0.9109 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2395, allocations: 0 / 0.9109 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2395, allocations: 0 / 0.9109 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.2402, allocations: 431 kB / 0.9113 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.2403, allocations: 108.8 kB / 0.9114 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.2403, allocations: 3.938 kB / 0.9114 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.2405, allocations: 19.98 kB / 0.9114 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.2405, allocations: 11.98 kB / 0.9114 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2405, allocations: 12.05 kB / 0.9115 GB, free: 53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001466/0.2407, allocations: 209.9 kB / 0.9117 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2407, allocations: 0 / 0.9117 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003279/0.241, allocations: 87.59 kB / 0.9117 GB, free: 52.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 18 * 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.0001064/0.2411, allocations: 103.2 kB / 0.9118 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006239/0.2418, allocations: 298.7 kB / 0.9121 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2418, allocations: 4.062 kB / 0.9121 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.242, allocations: 99.88 kB / 0.9122 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.2425, allocations: 49.98 kB / 0.9123 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007792/0.2433, allocations: 0.6084 MB / 0.9129 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2434, allocations: 0.7638 MB / 0.9136 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.2435, allocations: 27.44 kB / 0.9136 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.2435, allocations: 0 / 0.9136 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.004301/0.2478, allocations: 3.366 MB / 0.9169 GB, free: 47.37 MB / 0.6042 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)