Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001262, allocations: 180.5 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008906/0.0008908, allocations: 97.48 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 9.469 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002049/0.2145, allocations: 1.949 MB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2157, allocations: 0.8 MB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.2159, allocations: 7.938 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.216, allocations: 27.72 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.2162, allocations: 63.72 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.2164, allocations: 87.91 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.2167, allocations: 220.5 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2169, allocations: 123.7 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.217, allocations: 83.58 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.968e-05/0.2171, allocations: 95.39 kB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.2172, allocations: 12 kB / 0.9035 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.324e-05/0.2172, allocations: 8 kB / 0.9035 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.2172, allocations: 39.78 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.2173, allocations: 77.45 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.2175, allocations: 375.2 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2175, allocations: 0 / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2175, allocations: 0 / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2175, allocations: 4 kB / 0.904 GB, free: 59.84 MB / 0.6042 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.000792/0.2183, allocations: 0.5884 MB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2184, allocations: 8.031 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.745e-05/0.2184, allocations: 58.55 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.2185, allocations: 39.52 kB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.2189, allocations: 322.8 kB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2189, allocations: 20.56 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.219, allocations: 24 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.2194, allocations: 305.3 kB / 0.9053 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2195, allocations: 4 kB / 0.9053 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.2195, allocations: 12 kB / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2195, allocations: 8 kB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.22, allocations: 222.1 kB / 0.9056 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.2212, allocations: 1.166 MB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.2218, allocations: 226.7 kB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.2218, allocations: 4 kB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.2218, allocations: 38.56 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.2218, allocations: 0 / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0006818/0.2225, allocations: 296.2 kB / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.2226, allocations: 51.41 kB / 0.9073 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.2228, allocations: 294.9 kB / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2228, allocations: 29.7 kB / 0.9076 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.2229, allocations: 184.1 kB / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.223, allocations: 55.2 kB / 0.9078 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.223, allocations: 0 / 0.9078 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/0.223, allocations: 346.8 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2232, allocations: 79.95 kB / 0.9082 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.2234, allocations: 122.3 kB / 0.9084 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.2237, allocations: 95.94 kB / 0.9084 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2237, allocations: 0 / 0.9084 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004658/0.2242, allocations: 271.2 kB / 0.9087 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.137e-05/0.2242, allocations: 356 kB / 0.909 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2243, allocations: 4.062 kB / 0.909 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2243, allocations: 4 kB / 0.9091 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.2245, allocations: 51.95 kB / 0.9091 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2245, allocations: 3.938 kB / 0.9091 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2246, allocations: 27.83 kB / 0.9091 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.2247, allocations: 8 kB / 0.9091 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/0.2247, allocations: 4 kB / 0.9091 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003548/0.225, allocations: 205.5 kB / 0.9093 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.225, allocations: 0 / 0.9093 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-06/0.2251, allocations: 4.094 kB / 0.9093 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2252, allocations: 47.91 kB / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.2252, allocations: 4 kB / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2254, allocations: 31.78 kB / 0.9094 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2254, allocations: 4 kB / 0.9094 GB, free: 54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.cheYMinMax.y,conRadSup.conPIDRad.I.trigger_internal) * 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.0001445/0.2255, allocations: 225.1 kB / 0.9096 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.2256, allocations: 31.62 kB / 0.9097 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.2261, allocations: 243.7 kB / 0.9099 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2261, allocations: 4 kB / 0.9099 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2261, allocations: 3.953 kB / 0.9099 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2261, allocations: 3.938 kB / 0.9099 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.2264, allocations: 345.4 kB / 0.9102 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2265, allocations: 4 kB / 0.9102 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.2266, allocations: 47.91 kB / 0.9103 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2267, allocations: 3.984 kB / 0.9103 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.2267, allocations: 8 kB / 0.9103 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2267, allocations: 0 / 0.9103 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2267, allocations: 0 / 0.9103 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.2274, allocations: 433.1 kB / 0.9107 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.2274, allocations: 108.8 kB / 0.9108 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.2275, allocations: 4 kB / 0.9108 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.2276, allocations: 20.05 kB / 0.9108 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.2277, allocations: 15.94 kB / 0.9109 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.2277, allocations: 7.938 kB / 0.9109 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000164/0.2279, allocations: 209.9 kB / 0.9111 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2279, allocations: 3.938 kB / 0.9111 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003601/0.2283, allocations: 87.59 kB / 0.9112 GB, free: 52.12 MB / 0.6042 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 (18): * Single equations (assignments): 18 * 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.0007989/0.2291, allocations: 0.9543 MB / 0.9121 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006197/0.2297, allocations: 313.9 kB / 0.9124 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2297, allocations: 0 / 0.9124 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.2299, allocations: 105.9 kB / 0.9125 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.2303, allocations: 43.81 kB / 0.9125 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.2327, allocations: 2.039 MB / 0.9145 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.2329, allocations: 0.7677 MB / 0.9153 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.233, allocations: 38.25 kB / 0.9153 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.2332, allocations: 95.41 kB / 0.9154 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2332, allocations: 0 / 0.9154 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.2477, allocations: 4.986 MB / 0.9203 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.248, allocations: 216.9 kB / 0.9205 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.059, allocations: 6.812 kB / 0.9205 GB, free: 42.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)