Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_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.001655/0.001655, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 200.6 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 71.75 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2813, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.004285/0.2857, allocations: 2.195 MB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.287, allocations: 0.523 MB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.2874, allocations: 8 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.2877, allocations: 47.47 kB / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.2879, allocations: 43.53 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.2883, allocations: 139.8 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.2889, allocations: 372.2 kB / 0.7869 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/0.2894, allocations: 181.1 kB / 0.7871 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.2896, allocations: 127.5 kB / 0.7872 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2898, allocations: 147.3 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.2899, allocations: 43.94 kB / 0.7874 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.29, allocations: 40 kB / 0.7874 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.2901, allocations: 87.7 kB / 0.7875 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2902, allocations: 155.2 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.2908, allocations: 494.5 kB / 0.7881 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.2908, allocations: 4 kB / 0.7881 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2908, allocations: 0 / 0.7881 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.2908, allocations: 0 / 0.7881 GB, free: 8.668 MB / 0.6075 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.001129/0.292, allocations: 0.6196 MB / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.292, allocations: 8.031 kB / 0.7887 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.38e-05/0.2921, allocations: 62.72 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.2922, allocations: 36.55 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006229/0.2928, allocations: 335.2 kB / 0.7891 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.2929, allocations: 20.94 kB / 0.7892 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.2929, allocations: 24.38 kB / 0.7892 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.2935, allocations: 291.9 kB / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2935, allocations: 0 / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2936, allocations: 12 kB / 0.7895 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2936, allocations: 4 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.2941, allocations: 210.1 kB / 0.7897 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.2955, allocations: 0.9741 MB / 0.7906 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.296, allocations: 279.9 kB / 0.7909 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.2963, allocations: 100.8 kB / 0.791 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.2963, allocations: 4 kB / 0.791 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2963, allocations: 34.56 kB / 0.791 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.2964, allocations: 0 / 0.791 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0007256/0.2971, allocations: 264.5 kB / 0.7913 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.2971, allocations: 55.34 kB / 0.7913 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.2975, allocations: 282.9 kB / 0.7916 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.2975, allocations: 33.7 kB / 0.7916 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.2976, allocations: 176.1 kB / 0.7918 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.2977, allocations: 59.19 kB / 0.7919 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.2978, allocations: 41.7 kB / 0.7919 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2979, allocations: 338.8 kB / 0.7922 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.2981, allocations: 76.81 kB / 0.7923 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.2984, allocations: 120.2 kB / 0.7924 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.2988, allocations: 194.9 kB / 0.7926 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2988, allocations: 0 / 0.7926 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005251/0.2994, allocations: 253.1 kB / 0.7928 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2994, allocations: 8.125 kB / 0.7928 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2994, allocations: 0 / 0.7928 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2994, allocations: 4 kB / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.2997, allocations: 51.95 kB / 0.7929 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2997, allocations: 4 kB / 0.7929 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.2999, allocations: 27.77 kB / 0.7929 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2999, allocations: 8 kB / 0.7929 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002634/0.3002, allocations: 176.6 kB / 0.7931 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001875/0.3004, allocations: 121.1 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003658/0.3007, allocations: 182.8 kB / 0.7934 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.3007, allocations: 3.938 kB / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004514/0.3012, allocations: 233.2 kB / 0.7936 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.3012, allocations: 8.125 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3012, allocations: 7.984 kB / 0.7936 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-06/0.3012, allocations: 0 / 0.7936 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3014, allocations: 51.84 kB / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.3014, allocations: 7.938 kB / 0.7937 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3016, allocations: 23.88 kB / 0.7937 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3016, allocations: 4 kB / 0.7937 GB, free: 2.586 MB / 0.6075 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.0001312/0.3017, allocations: 204.1 kB / 0.7939 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.3018, allocations: 23.72 kB / 0.7939 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.3023, allocations: 222.3 kB / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3023, allocations: 0 / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3024, allocations: 0 / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3024, allocations: 0 / 0.7941 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009465/0.3033, allocations: 0.6308 MB / 0.7948 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3033, allocations: 0 / 0.7948 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.3035, allocations: 35.97 kB / 0.7948 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3035, allocations: 4 kB / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3036, allocations: 0 / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3036, allocations: 0 / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3036, allocations: 0 / 0.7948 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007556/0.3043, allocations: 401.7 kB / 0.7952 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.3044, allocations: 104.8 kB / 0.7953 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.3045, allocations: 8 kB / 0.7953 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3046, allocations: 12.05 kB / 0.7953 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.3047, allocations: 19.92 kB / 0.7953 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3047, allocations: 4 kB / 0.7953 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000192/0.3049, allocations: 202 kB / 0.7955 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3049, allocations: 0 / 0.7955 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004411/0.3054, allocations: 87.59 kB / 0.7956 GB, free: 0.5469 MB / 0.6075 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.00109/0.3065, allocations: 0.9268 MB / 0.7965 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000721/0.3072, allocations: 286.5 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3072, allocations: 0 / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.3074, allocations: 86.86 kB / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.3079, allocations: 49.17 kB / 0.7969 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.3114, allocations: 2.64 MB / 0.7995 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3118, allocations: 0.7597 MB / 0.8002 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.3119, allocations: 29.94 kB / 0.8003 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.3121, allocations: 91.41 kB / 0.8003 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.3121, allocations: 0 / 0.8003 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.3393, allocations: 4.948 MB / 0.8052 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.44, allocations: 7.938 kB / 0.8052 GB, free: 6.723 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)