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.001047/0.001047, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008873/0.0008873, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.777/1.777, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005328/0.000533, allocations: 13.16 kB / 0.6738 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2686, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003051/0.2717, allocations: 1.794 MB / 0.7892 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.273, allocations: 0.492 MB / 0.7896 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.2733, allocations: 4 kB / 0.7896 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.2735, allocations: 27.72 kB / 0.7897 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.2737, allocations: 31.73 kB / 0.7897 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.274, allocations: 79.84 kB / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000381/0.2744, allocations: 316.3 kB / 0.7901 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.2747, allocations: 116.3 kB / 0.7902 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.2749, allocations: 83.52 kB / 0.7903 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2751, allocations: 103.4 kB / 0.7904 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.2751, allocations: 8 kB / 0.7904 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.048e-05/0.2751, allocations: 8 kB / 0.7904 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.2752, allocations: 43.72 kB / 0.7904 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.38e-05/0.2753, allocations: 73.52 kB / 0.7905 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.2757, allocations: 379.2 kB / 0.7909 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.2757, allocations: 0 / 0.7909 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.687e-06/0.2757, allocations: 3.938 kB / 0.7909 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.2757, allocations: 0 / 0.7909 GB, free: 8.262 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.001046/0.2768, allocations: 0.5846 MB / 0.7914 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.2768, allocations: 8.031 kB / 0.7914 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.058e-05/0.2769, allocations: 62.53 kB / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.277, allocations: 31.62 kB / 0.7915 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.2775, allocations: 326 kB / 0.7918 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.2775, allocations: 16.56 kB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.2776, allocations: 27.91 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.2782, allocations: 287.7 kB / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2782, allocations: 0 / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.2782, allocations: 12 kB / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2782, allocations: 7.938 kB / 0.7922 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.2787, allocations: 226.1 kB / 0.7924 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.2801, allocations: 0.9899 MB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.2806, allocations: 288.5 kB / 0.7936 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.2808, allocations: 112.8 kB / 0.7937 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2809, allocations: 0 / 0.7937 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.2809, allocations: 34.56 kB / 0.7938 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.2809, allocations: 0 / 0.7938 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006852/0.2816, allocations: 281.3 kB / 0.794 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.2816, allocations: 55.41 kB / 0.7941 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.2819, allocations: 282.9 kB / 0.7944 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.282, allocations: 25.7 kB / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.2821, allocations: 188 kB / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.2822, allocations: 59.19 kB / 0.7946 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.2822, allocations: 4 kB / 0.7946 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2823, allocations: 338.8 kB / 0.795 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2825, allocations: 83.89 kB / 0.795 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.2828, allocations: 125.1 kB / 0.7952 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.283, allocations: 94.94 kB / 0.7952 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.283, allocations: 0 / 0.7952 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004942/0.2835, allocations: 265.2 kB / 0.7955 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.2836, allocations: 116.4 kB / 0.7956 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2836, allocations: 0 / 0.7956 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2836, allocations: 4.031 kB / 0.7956 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2839, allocations: 51.91 kB / 0.7957 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2839, allocations: 7.953 kB / 0.7957 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.284, allocations: 31.73 kB / 0.7957 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.2841, allocations: 7.984 kB / 0.7957 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-06/0.2841, allocations: 4 kB / 0.7957 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003979/0.2845, allocations: 214.3 kB / 0.7959 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.2845, allocations: 3.938 kB / 0.7959 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/0.2845, allocations: 4 kB / 0.7959 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.2847, allocations: 52.03 kB / 0.796 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.2847, allocations: 0 / 0.796 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2848, allocations: 23.84 kB / 0.796 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2848, allocations: 11.98 kB / 0.796 GB, free: 2.699 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.0001885/0.285, allocations: 225.1 kB / 0.7962 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.2851, allocations: 31.66 kB / 0.7963 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.2856, allocations: 231.6 kB / 0.7965 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2856, allocations: 4 kB / 0.7965 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2856, allocations: 0 / 0.7965 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.2856, allocations: 7.984 kB / 0.7965 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.2866, allocations: 0.6417 MB / 0.7971 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2866, allocations: 4.062 kB / 0.7971 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.2868, allocations: 39.97 kB / 0.7972 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2868, allocations: 0 / 0.7972 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2868, allocations: 7.984 kB / 0.7972 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2868, allocations: 0 / 0.7972 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2868, allocations: 4 kB / 0.7972 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.2875, allocations: 415 kB / 0.7976 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.2876, allocations: 104.8 kB / 0.7977 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.2876, allocations: 4 kB / 0.7977 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.2878, allocations: 23.92 kB / 0.7977 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.2878, allocations: 11.97 kB / 0.7977 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.2879, allocations: 12.06 kB / 0.7977 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001916/0.2881, allocations: 198 kB / 0.7979 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2881, allocations: 0 / 0.7979 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000386/0.2885, allocations: 87.59 kB / 0.798 GB, free: 0.5664 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.0009959/0.2895, allocations: 0.9491 MB / 0.7989 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006594/0.2901, allocations: 299.9 kB / 0.7992 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2901, allocations: 0 / 0.7992 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.2903, allocations: 92.14 kB / 0.7993 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.2908, allocations: 40.81 kB / 0.7993 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.2933, allocations: 1.54 MB / 0.8008 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.2937, allocations: 0.7638 MB / 0.8016 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000133/0.2938, allocations: 29.94 kB / 0.8016 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.294, allocations: 91.39 kB / 0.8017 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of SimCode: time 9.62e-07/0.294, allocations: 4 kB / 0.8017 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.3099, allocations: 4.676 MB / 0.8063 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.3102, allocations: 196.6 kB / 0.8064 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.22, allocations: 2.391 kB / 0.8064 GB, free: 7.945 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: