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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001102/0.001102, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001184/0.001184, allocations: 200.5 kB / 16.26 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.8689 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5103, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003185/0.5135, allocations: 2.253 MB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009179/0.5144, allocations: 0.5063 MB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.5146, allocations: 7.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.5148, allocations: 31.72 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.515, allocations: 31.72 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.5152, allocations: 119.9 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.5156, allocations: 364.2 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.5159, allocations: 185.1 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.5161, allocations: 131.4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.5162, allocations: 135.3 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.5163, allocations: 40 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.5163, allocations: 40 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.5164, allocations: 83.69 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.5165, allocations: 151.2 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.5169, allocations: 464.8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5169, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5169, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5169, allocations: 0 / 1.021 GB, free: 14.16 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.0009163/0.5179, allocations: 0.6119 MB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5179, allocations: 8.031 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.518, allocations: 58.73 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.518, allocations: 36.47 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.5184, allocations: 323.3 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5184, allocations: 20.88 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.5185, allocations: 24.38 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.519, allocations: 288 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.519, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.5191, allocations: 11.98 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.5191, allocations: 8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.5196, allocations: 206.1 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.5209, allocations: 0.9859 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.5214, allocations: 275.9 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.5216, allocations: 100.8 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.5216, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.5217, allocations: 34.55 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.5217, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006724/0.5223, allocations: 261.2 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.5224, allocations: 51.41 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.5226, allocations: 274.6 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.5227, allocations: 29.7 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.5228, allocations: 184 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.5228, allocations: 55.2 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.5229, allocations: 41.64 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.523, allocations: 342.8 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.5232, allocations: 84.67 kB / 1.025 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.5234, allocations: 113.1 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.5238, allocations: 189.6 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5238, allocations: 4 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004825/0.5243, allocations: 251 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5244, allocations: 8 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5244, allocations: 0 / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5244, allocations: 0 / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.5246, allocations: 47.97 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.5246, allocations: 3.938 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.5248, allocations: 31.86 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.5248, allocations: 11.94 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002364/0.525, allocations: 180.1 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001752/0.5252, allocations: 106.9 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003182/0.5256, allocations: 185.8 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.5256, allocations: 3.938 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004169/0.526, allocations: 249.1 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/0.526, allocations: 4 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.526, allocations: 0 / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/0.526, allocations: 4 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.5262, allocations: 39.97 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.5262, allocations: 3.938 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.5263, allocations: 23.97 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.5264, allocations: 11.98 kB / 1.027 GB, free: 8.113 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 9.524e-05/0.5265, allocations: 192.7 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.5265, allocations: 23.72 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.527, allocations: 218 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.527, allocations: 4 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.527, allocations: 0 / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.527, allocations: 3.984 kB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/0.5278, allocations: 0.6231 MB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5279, allocations: 0 / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.528, allocations: 39.97 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5281, allocations: 0 / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.5281, allocations: 8 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5281, allocations: 0 / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5281, allocations: 0 / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.5287, allocations: 399.8 kB / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.5288, allocations: 108.8 kB / 1.028 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.5288, allocations: 7.984 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.529, allocations: 11.98 kB / 1.028 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.5291, allocations: 19.92 kB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.5291, allocations: 7.984 kB / 1.029 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001581/0.5292, allocations: 190 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5293, allocations: 0 / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003543/0.5296, allocations: 87.75 kB / 1.029 GB, free: 6.098 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.0008604/0.5305, allocations: 0.9258 MB / 1.03 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006348/0.5311, allocations: 293.6 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5311, allocations: 0 / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.5314, allocations: 88.45 kB / 1.03 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.5317, allocations: 44.41 kB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.5348, allocations: 2.684 MB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.5351, allocations: 0.7558 MB / 1.033 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.5352, allocations: 29.92 kB / 1.033 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.5354, allocations: 91.39 kB / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5354, allocations: 0 / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.939/2.475, allocations: 4.688 MB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/2.475, allocations: 221 kB / 1.038 GB, free: 12.28 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/4.251, allocations: 1.828 kB / 1.038 GB, free: 12.28 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)