Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007925/0.0007926, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.004199/0.004199, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 12 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5307, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002181/0.5329, allocations: 1.881 MB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.5338, allocations: 0.5023 MB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.534, allocations: 4 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.5342, allocations: 31.66 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.5343, allocations: 31.8 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.5346, allocations: 123.8 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.535, allocations: 332.2 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.5352, allocations: 169.1 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.5354, allocations: 87.5 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.5355, allocations: 99.3 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.5356, allocations: 8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/0.5356, allocations: 8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.5356, allocations: 39.78 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.5358, allocations: 140.9 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.5361, allocations: 424.7 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5361, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5361, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5361, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 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.0008811/0.537, allocations: 0.567 MB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.5371, allocations: 12.03 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.04e-05/0.5371, allocations: 58.73 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.5372, allocations: 36.47 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.5376, allocations: 319.3 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.5376, allocations: 20.94 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.5377, allocations: 24.38 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.5382, allocations: 295.9 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5383, allocations: 3.938 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.5383, allocations: 15.98 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5383, allocations: 4 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.5388, allocations: 226.1 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.5402, allocations: 0.9859 MB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.5407, allocations: 291.9 kB / 1.03 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.541, allocations: 108.8 kB / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.541, allocations: 0 / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.541, allocations: 38.56 kB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.541, allocations: 0 / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0007265/0.5418, allocations: 293.2 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.5418, allocations: 51.41 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.5421, allocations: 270.7 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5421, allocations: 29.7 kB / 1.03 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.5422, allocations: 180 kB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.5423, allocations: 55.2 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.5423, allocations: 21.7 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5424, allocations: 346.8 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.5427, allocations: 83.81 kB / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.5429, allocations: 121 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.5434, allocations: 209.6 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5434, allocations: 0 / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005562/0.5439, allocations: 257.2 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.139e-05/0.544, allocations: 126 kB / 1.032 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.544, allocations: 3.984 kB / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.544, allocations: 4 kB / 1.032 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.5443, allocations: 47.97 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.5443, allocations: 0 / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.5445, allocations: 39.67 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.5445, allocations: 11.94 kB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.5445, allocations: 4 kB / 1.032 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004412/0.5449, allocations: 199.9 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.545, allocations: 3.938 kB / 1.032 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.545, allocations: 4 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.5452, allocations: 51.91 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.5452, allocations: 0 / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.5453, allocations: 27.86 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.5453, allocations: 12 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * 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.0001584/0.5455, allocations: 225.5 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.5456, allocations: 19.72 kB / 1.032 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.5461, allocations: 239.6 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5461, allocations: 3.938 kB / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5461, allocations: 3.938 kB / 1.033 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5462, allocations: 4 kB / 1.033 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008975/0.5471, allocations: 0.6363 MB / 1.033 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5471, allocations: 0 / 1.033 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.5473, allocations: 47.91 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5473, allocations: 0 / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.5473, allocations: 4 kB / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5473, allocations: 0 / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5473, allocations: 0 / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.548, allocations: 421.5 kB / 1.034 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.5481, allocations: 104.8 kB / 1.034 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.5482, allocations: 8.062 kB / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.5483, allocations: 19.98 kB / 1.034 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.5484, allocations: 11.98 kB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.5484, allocations: 8 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000181/0.5486, allocations: 198 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5486, allocations: 0 / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003972/0.549, allocations: 83.62 kB / 1.034 GB, free: 4.199 MB / 0.7794 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 (17): * Single equations (assignments): 17 * 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.0009826/0.55, allocations: 0.9503 MB / 1.035 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006956/0.5507, allocations: 307.1 kB / 1.035 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5507, allocations: 4.125 kB / 1.035 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.551, allocations: 95.89 kB / 1.035 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.5514, allocations: 34.52 kB / 1.035 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.5548, allocations: 2.742 MB / 1.038 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.5551, allocations: 0.756 MB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.5552, allocations: 33.92 kB / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.5553, allocations: 91.39 kB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.5553, allocations: 0 / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.432/1.987, allocations: 4.46 MB / 1.043 GB, free: 10.77 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/1.987, allocations: 220.7 kB / 1.044 GB, free: 10.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/3.624, allocations: 0 / 1.044 GB, free: 10.52 MB / 0.795 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)