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.456/1.456, allocations: 252 MB / 268 MB, free: 10.86 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.0011/0.0011, allocations: 179.2 kB / 327.6 MB, free: 2.098 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.868/1.868, allocations: 205.4 MB / 0.5786 GB, free: 20.1 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.001067/0.001067, allocations: 90.34 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003716, allocations: 8.625 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2125, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002128/0.2147, allocations: 2.033 MB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2157, allocations: 0.8268 MB / 0.9042 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.2159, allocations: 7.938 kB / 0.9043 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.2161, allocations: 39.64 kB / 0.9043 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2162, allocations: 43.66 kB / 0.9043 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.2164, allocations: 123.9 kB / 0.9045 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.2167, allocations: 364.1 kB / 0.9048 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.217, allocations: 164.6 kB / 0.905 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2171, allocations: 91.38 kB / 0.905 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2172, allocations: 99.36 kB / 0.9051 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.2173, allocations: 8 kB / 0.9051 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.2173, allocations: 8 kB / 0.9052 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.2173, allocations: 51.64 kB / 0.9052 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.2174, allocations: 136.9 kB / 0.9053 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.2177, allocations: 375.3 kB / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2177, allocations: 3.938 kB / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2177, allocations: 0 / 0.9057 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2177, allocations: 0 / 0.9057 GB, free: 59.11 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.0007722/0.2185, allocations: 0.5963 MB / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2185, allocations: 8.031 kB / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.2186, allocations: 40.47 kB / 0.9063 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.2189, allocations: 328.2 kB / 0.9066 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.219, allocations: 24.88 kB / 0.9067 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.219, allocations: 28.36 kB / 0.9067 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.2195, allocations: 305.5 kB / 0.907 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2195, allocations: 0 / 0.907 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.2195, allocations: 12 kB / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2195, allocations: 4 kB / 0.907 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.22, allocations: 234.1 kB / 0.9072 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.2212, allocations: 1.162 MB / 0.9084 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.2217, allocations: 214.8 kB / 0.9086 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.2219, allocations: 119.2 kB / 0.9087 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.222, allocations: 4 kB / 0.9087 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.222, allocations: 34.56 kB / 0.9087 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.222, allocations: 0 / 0.9087 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0006601/0.2226, allocations: 297.1 kB / 0.909 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.2227, allocations: 55.41 kB / 0.909 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.2229, allocations: 294.9 kB / 0.9093 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2229, allocations: 29.7 kB / 0.9094 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.223, allocations: 176.2 kB / 0.9095 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.2231, allocations: 67.09 kB / 0.9096 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.2231, allocations: 4 kB / 0.9096 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.2231, allocations: 342.8 kB / 0.9099 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.2233, allocations: 79.95 kB / 0.91 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.2235, allocations: 126.3 kB / 0.9101 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.2239, allocations: 209.2 kB / 0.9103 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2239, allocations: 0 / 0.9103 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004641/0.2244, allocations: 267.4 kB / 0.9106 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.2245, allocations: 111.7 kB / 0.9107 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2245, allocations: 4 kB / 0.9107 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2245, allocations: 3.938 kB / 0.9107 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.2247, allocations: 43.97 kB / 0.9107 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2247, allocations: 0 / 0.9107 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.2249, allocations: 43.67 kB / 0.9108 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2249, allocations: 4 kB / 0.9108 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-06/0.2249, allocations: 4 kB / 0.9108 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003878/0.2253, allocations: 211.8 kB / 0.911 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.2253, allocations: 0 / 0.911 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/0.2253, allocations: 4 kB / 0.911 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.2255, allocations: 51.91 kB / 0.911 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.2255, allocations: 0 / 0.911 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2256, allocations: 31.84 kB / 0.9111 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2257, allocations: 15.98 kB / 0.9111 GB, free: 53.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.2258, allocations: 221 kB / 0.9113 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.2258, allocations: 23.72 kB / 0.9113 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.2263, allocations: 254.2 kB / 0.9115 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2263, allocations: 4 kB / 0.9116 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2263, allocations: 0 / 0.9116 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2264, allocations: 3.984 kB / 0.9116 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.2266, allocations: 349.3 kB / 0.9119 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2266, allocations: 0 / 0.9119 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.2268, allocations: 43.98 kB / 0.9119 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2269, allocations: 0 / 0.9119 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.2269, allocations: 7.922 kB / 0.9119 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2269, allocations: 7.984 kB / 0.9119 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2269, allocations: 0 / 0.9119 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.2276, allocations: 428.9 kB / 0.9124 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.2276, allocations: 112.8 kB / 0.9125 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.2277, allocations: 7.984 kB / 0.9125 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2278, allocations: 17.25 kB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.2279, allocations: 11.98 kB / 0.9125 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.2279, allocations: 4 kB / 0.9125 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001617/0.2281, allocations: 210 kB / 0.9127 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2281, allocations: 3.938 kB / 0.9127 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003356/0.2284, allocations: 87.69 kB / 0.9128 GB, free: 51.46 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 (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.0001176/0.2285, allocations: 107.2 kB / 0.9129 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006415/0.2292, allocations: 311.7 kB / 0.9132 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2292, allocations: 0 / 0.9132 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.2294, allocations: 102.5 kB / 0.9133 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.2299, allocations: 48.56 kB / 0.9133 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007723/0.2306, allocations: 0.636 MB / 0.914 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.2308, allocations: 0.7677 MB / 0.9147 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.2309, allocations: 23.44 kB / 0.9147 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2309, allocations: 0 / 0.9147 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.004257/0.2352, allocations: 3.361 MB / 0.918 GB, free: 46.07 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)