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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.016/2.016, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001114, allocations: 204.9 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 115.3 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 51.17 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2274, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002748/0.2302, allocations: 2.255 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.231, allocations: 0.4907 MB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2311, allocations: 7.938 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.2313, allocations: 35.72 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.844e-05/0.2314, allocations: 35.67 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2316, allocations: 115.9 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.2319, allocations: 340.2 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.2321, allocations: 177 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2322, allocations: 103.5 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.2323, allocations: 123.3 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.2323, allocations: 16 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.2324, allocations: 16 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.2324, allocations: 55.7 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.2325, allocations: 131.2 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.2327, allocations: 436.7 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2327, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2327, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2327, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 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.0007354/0.2335, allocations: 0.6042 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2335, allocations: 15.98 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.2336, allocations: 36.56 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.2339, allocations: 315.3 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2339, allocations: 20.94 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.2339, allocations: 28.38 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.2344, allocations: 276.2 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2344, allocations: 3.938 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.2344, allocations: 12 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2344, allocations: 4 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.2348, allocations: 214.1 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2358, allocations: 0.9897 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.2362, allocations: 282.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2364, allocations: 100.8 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.2364, allocations: 4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.2365, allocations: 34.56 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.2365, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0005746/0.2371, allocations: 261.2 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.2371, allocations: 55.41 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.2373, allocations: 274.7 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2373, allocations: 25.7 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.2374, allocations: 180 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.2374, allocations: 67.05 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.2375, allocations: 41.7 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.2375, allocations: 334.8 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.2377, allocations: 80.81 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.2379, allocations: 123.1 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.2382, allocations: 189.5 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2382, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004184/0.2387, allocations: 250.3 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2387, allocations: 5.094 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2387, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2387, allocations: 8.125 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.2389, allocations: 43.97 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2389, allocations: 7.938 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2391, allocations: 23.89 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.2391, allocations: 12 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001924/0.2393, allocations: 180 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001451/0.2394, allocations: 113.1 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002784/0.2397, allocations: 189.9 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.2397, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000356/0.2401, allocations: 238.4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.209e-06/0.2401, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.2401, allocations: 7.984 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-06/0.2401, allocations: 128 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.2403, allocations: 43.92 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.2403, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.2404, allocations: 23.83 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2404, allocations: 4 kB / 1.228 GB, free: 106.9 MB / 0.823 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 5.628e-05/0.2405, allocations: 196.8 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.2405, allocations: 23.72 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.241, allocations: 221 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.241, allocations: 4 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.241, allocations: 3.938 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.241, allocations: 0 / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.2416, allocations: 0.6308 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2417, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.2418, allocations: 39.97 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2418, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2419, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2419, allocations: 7.984 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2419, allocations: 3.938 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.2444, allocations: 2.178 MB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.2445, allocations: 108.7 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.2445, allocations: 4 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.2446, allocations: 15.97 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.2447, allocations: 15.89 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2447, allocations: 8.062 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001263/0.2448, allocations: 198 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2449, allocations: 0 / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004955/0.2454, allocations: 111.7 kB / 1.231 GB, free: 103 MB / 0.823 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 7.794e-05/0.2454, allocations: 103.2 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005686/0.246, allocations: 282.5 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.246, allocations: 4 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2462, allocations: 83.89 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.2466, allocations: 49.05 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/0.2473, allocations: 0.734 MB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.2475, allocations: 0.7638 MB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.2476, allocations: 29.94 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.2477, allocations: 23.44 kB / 1.233 GB, free: 100.8 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.2477, allocations: 3.938 kB / 1.233 GB, free: 100.8 MB / 0.823 GB Notification: Performance of Templates: time 0.004586/0.2523, allocations: 2.526 MB / 1.236 GB, free: 98.32 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (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 & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)