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.001555/0.001555, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002107/0.002107, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.267/3.267, allocations: 205.4 MB / 222.1 MB, free: 5.656 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 3.016/3.016, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.001/0.001001, allocations: 16.97 kB / 0.6737 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4673, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.004034/0.4715, allocations: 1.798 MB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.4734, allocations: 0.4958 MB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004948/0.474, allocations: 4 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.4742, allocations: 23.72 kB / 0.7895 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007121/0.4749, allocations: 47.84 kB / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.4755, allocations: 91.78 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007205/0.4762, allocations: 200.6 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005231/0.4768, allocations: 136.2 kB / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.4771, allocations: 79.56 kB / 0.79 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.4775, allocations: 95.41 kB / 0.7901 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.4776, allocations: 8 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.4777, allocations: 8 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.4777, allocations: 43.78 kB / 0.7902 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.4779, allocations: 69.58 kB / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.4785, allocations: 379.2 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4785, allocations: 0 / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4785, allocations: 4 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.91e-05/0.4785, allocations: 0 / 0.7906 GB, free: 8.398 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.001713/0.4803, allocations: 0.5768 MB / 0.7912 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/0.4803, allocations: 12.03 kB / 0.7912 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.4805, allocations: 62.48 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.4807, allocations: 31.62 kB / 0.7913 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000721/0.4814, allocations: 318 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.4815, allocations: 24.56 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.4815, allocations: 27.91 kB / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.4823, allocations: 287.6 kB / 0.7919 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.4823, allocations: 0 / 0.7919 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.4824, allocations: 12 kB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4824, allocations: 8 kB / 0.7919 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.4831, allocations: 218.1 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.4853, allocations: 0.9937 MB / 0.7931 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.486, allocations: 291.2 kB / 0.7934 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.486, allocations: 0 / 0.7934 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.486, allocations: 34.78 kB / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.4861, allocations: 0 / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0007902/0.4869, allocations: 296.2 kB / 0.7937 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.4869, allocations: 51.41 kB / 0.7937 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.4872, allocations: 278.9 kB / 0.794 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.4873, allocations: 29.7 kB / 0.794 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.4874, allocations: 184 kB / 0.7942 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.4875, allocations: 55.19 kB / 0.7943 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.4875, allocations: 8 kB / 0.7943 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4877, allocations: 334.8 kB / 0.7946 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.4881, allocations: 83.95 kB / 0.7947 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.4885, allocations: 121.1 kB / 0.7948 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.489, allocations: 91.98 kB / 0.7949 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.489, allocations: 0 / 0.7949 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001023/0.49, allocations: 269.2 kB / 0.7951 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.4903, allocations: 453.1 kB / 0.7956 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4903, allocations: 7.938 kB / 0.7956 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4904, allocations: 4 kB / 0.7956 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.4908, allocations: 47.91 kB / 0.7956 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4908, allocations: 0 / 0.7956 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.4912, allocations: 35.73 kB / 0.7957 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.4912, allocations: 4 kB / 0.7957 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4912, allocations: 8 kB / 0.7957 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008976/0.4922, allocations: 210.6 kB / 0.7959 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4922, allocations: 4.031 kB / 0.7959 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.752e-06/0.4922, allocations: 0 / 0.7959 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.4926, allocations: 47.91 kB / 0.7959 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.4926, allocations: 4 kB / 0.7959 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.4929, allocations: 31.78 kB / 0.796 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.493, allocations: 4 kB / 0.796 GB, free: 2.617 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000411/0.4934, allocations: 229.1 kB / 0.7962 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/0.4935, allocations: 23.72 kB / 0.7962 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.4945, allocations: 227.7 kB / 0.7964 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.4946, allocations: 4 kB / 0.7964 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.4946, allocations: 3.984 kB / 0.7964 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4946, allocations: 3.953 kB / 0.7964 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.4964, allocations: 0.6532 MB / 0.7971 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4964, allocations: 0 / 0.7971 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.4968, allocations: 31.98 kB / 0.7971 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.4968, allocations: 0 / 0.7971 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.4969, allocations: 7.984 kB / 0.7971 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.4969, allocations: 7.953 kB / 0.7971 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4969, allocations: 0 / 0.7971 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.4984, allocations: 415 kB / 0.7975 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.4985, allocations: 104.8 kB / 0.7976 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.4986, allocations: 0 / 0.7976 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.4989, allocations: 28.03 kB / 0.7976 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.4991, allocations: 15.94 kB / 0.7976 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.4991, allocations: 0 / 0.7976 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004232/0.4995, allocations: 202 kB / 0.7978 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4996, allocations: 0 / 0.7978 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008703/0.5004, allocations: 87.59 kB / 0.7979 GB, free: 0.4922 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 (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.001986/0.5025, allocations: 0.9493 MB / 0.7989 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.504, allocations: 303.7 kB / 0.7991 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.504, allocations: 0 / 0.7991 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.5045, allocations: 96.33 kB / 0.7992 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.5051, allocations: 44.8 kB / 0.7993 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/0.5105, allocations: 2.131 MB / 0.8014 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.5112, allocations: 0.7677 MB / 0.8021 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003065/0.5115, allocations: 29.94 kB / 0.8021 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.5118, allocations: 99.33 kB / 0.8022 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of SimCode: time 3.446e-06/0.5118, allocations: 0 / 0.8022 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.5409, allocations: 4.656 MB / 0.8068 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003429/0.5414, allocations: 194.7 kB / 0.807 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/3.742, allocations: 4 kB / 0.807 GB, free: 7.262 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --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) Environment - environmentSimulation: