Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_latest_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.001367/0.001367, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001259/0.00126, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.852/2.852, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.17 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2398, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.00322/0.243, allocations: 2.257 MB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.2439, allocations: 0.514 MB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2441, allocations: 8 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.2443, allocations: 31.66 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.2445, allocations: 31.78 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.2447, allocations: 119.9 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.2451, allocations: 364.2 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.2454, allocations: 177.1 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.2456, allocations: 135.5 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.2457, allocations: 135.3 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.2458, allocations: 44 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.175e-05/0.2458, allocations: 40 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.2459, allocations: 75.77 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.246, allocations: 163.1 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.2464, allocations: 462.8 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2464, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2464, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.2464, allocations: 4 kB / 1.057 GB, free: 4.098 MB / 0.8106 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.0009129/0.2473, allocations: 0.608 MB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2474, allocations: 12.62 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.386e-05/0.2474, allocations: 58.73 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.2475, allocations: 40.45 kB / 1.058 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.2479, allocations: 307.4 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2479, allocations: 20.94 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.248, allocations: 28.38 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.2485, allocations: 292 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2485, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2485, allocations: 4 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2485, allocations: 8 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.249, allocations: 214.1 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.2504, allocations: 0.9896 MB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.2508, allocations: 264 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2511, allocations: 100.8 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.2511, allocations: 7.984 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.2511, allocations: 38.5 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.2511, allocations: 0 / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0006607/0.2518, allocations: 259.6 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.2518, allocations: 51.41 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.2521, allocations: 270.7 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2521, allocations: 29.7 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.2522, allocations: 180 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.2523, allocations: 55.25 kB / 1.061 GB, free: 64 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.2523, allocations: 45.7 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2524, allocations: 334.8 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.2527, allocations: 80.81 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.2529, allocations: 127.1 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.2533, allocations: 189.4 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2533, allocations: 0 / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005041/0.2538, allocations: 254.6 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2538, allocations: 4 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2538, allocations: 7.938 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2539, allocations: 4.125 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2541, allocations: 43.97 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2541, allocations: 0 / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.2543, allocations: 31.77 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2543, allocations: 4 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002439/0.2545, allocations: 188 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001771/0.2547, allocations: 113.1 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003292/0.2551, allocations: 181.6 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.2551, allocations: 3.938 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004279/0.2555, allocations: 239 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.2555, allocations: 8 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.2555, allocations: 0 / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.2555, allocations: 4.125 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.2557, allocations: 47.97 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.2557, allocations: 0 / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2559, allocations: 19.83 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2559, allocations: 15.94 kB / 1.062 GB, free: 14.06 MB / 0.8262 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.274e-05/0.256, allocations: 188.2 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.2561, allocations: 19.72 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.2566, allocations: 221 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2566, allocations: 4 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2566, allocations: 0 / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2566, allocations: 3.984 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.2574, allocations: 0.6309 MB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2574, allocations: 0 / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.2576, allocations: 39.91 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2576, allocations: 0 / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2577, allocations: 4 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2577, allocations: 0 / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2577, allocations: 3.984 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.2583, allocations: 396.9 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.2584, allocations: 100.9 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.2584, allocations: 0 / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.2586, allocations: 19.97 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.2587, allocations: 15.92 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.2587, allocations: 19.92 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00016/0.2589, allocations: 194 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2589, allocations: 0 / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000366/0.2592, allocations: 83.69 kB / 1.064 GB, free: 12.05 MB / 0.8262 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.0008978/0.2601, allocations: 0.9243 MB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006606/0.2608, allocations: 285.7 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2608, allocations: 0 / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.261, allocations: 87.89 kB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.2614, allocations: 48.39 kB / 1.066 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.2646, allocations: 2.689 MB / 1.068 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.2649, allocations: 0.7558 MB / 1.069 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.2651, allocations: 29.94 kB / 1.069 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.2652, allocations: 87.41 kB / 1.069 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.2652, allocations: 0 / 1.069 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.874/1.139, allocations: 4.686 MB / 1.074 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/1.14, allocations: 224.9 kB / 1.074 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.932, allocations: 3.938 kB / 1.074 GB, free: 2.238 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)