Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_10_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.001654/0.001654, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.6079, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003136/0.6111, allocations: 2.208 MB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.612, allocations: 0.5336 MB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.6121, allocations: 8 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.6123, allocations: 43.47 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.6124, allocations: 51.53 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.6126, allocations: 131.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.6129, allocations: 364.1 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.6132, allocations: 173.1 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.6134, allocations: 131.5 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.6135, allocations: 143.2 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.6136, allocations: 40 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.235e-05/0.6136, allocations: 40 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.6137, allocations: 79.77 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.6138, allocations: 159.1 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.6142, allocations: 460.8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6142, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6142, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.6142, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 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.0008496/0.615, allocations: 0.608 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.6151, allocations: 12.03 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.6151, allocations: 58.73 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.6152, allocations: 40.47 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.6156, allocations: 315.3 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.6156, allocations: 28.88 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.6156, allocations: 28.31 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.6161, allocations: 288 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6161, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.6162, allocations: 8 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6162, allocations: 8 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.6167, allocations: 214.1 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.6179, allocations: 0.9664 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.6184, allocations: 275.9 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.6186, allocations: 100.8 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.6186, allocations: 11.98 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6187, allocations: 34.5 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.6187, allocations: 4 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006556/0.6193, allocations: 257.2 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.6194, allocations: 55.41 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.6196, allocations: 270.6 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.6196, allocations: 33.7 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6198, allocations: 184 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.6198, allocations: 51.19 kB / 1.026 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.6199, allocations: 45.7 kB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.62, allocations: 334.8 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.6202, allocations: 84.67 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.6204, allocations: 127.1 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.6208, allocations: 185.2 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6208, allocations: 0 / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004886/0.6213, allocations: 251.1 kB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6213, allocations: 4 kB / 1.027 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6213, allocations: 8.125 kB / 1.027 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.6214, allocations: 0 / 1.027 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.6216, allocations: 47.91 kB / 1.027 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6216, allocations: 0 / 1.027 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.6218, allocations: 31.73 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.6218, allocations: 4 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002367/0.622, allocations: 185.6 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001813/0.6222, allocations: 118.7 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003363/0.6226, allocations: 182.3 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.6226, allocations: 3.938 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004286/0.623, allocations: 229.2 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.623, allocations: 8 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.623, allocations: 192 / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.421e-06/0.623, allocations: 19.92 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.6232, allocations: 39.98 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.6232, allocations: 3.938 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.6234, allocations: 19.83 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.6234, allocations: 12 kB / 1.027 GB, free: 7.887 MB / 0.7794 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.339e-05/0.6235, allocations: 192.1 kB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.6235, allocations: 23.7 kB / 1.028 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.624, allocations: 223.6 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.624, allocations: 4 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6241, allocations: 0 / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.6241, allocations: 0 / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.6249, allocations: 0.6242 MB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6249, allocations: 0 / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.6251, allocations: 39.91 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6251, allocations: 0 / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.6251, allocations: 8 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6251, allocations: 0 / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6251, allocations: 0 / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/0.6258, allocations: 396 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.6259, allocations: 108.8 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.6259, allocations: 0 / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.6261, allocations: 15.98 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.6261, allocations: 15.98 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.6262, allocations: 8 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001742/0.6263, allocations: 201.9 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6263, allocations: 0 / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003613/0.6267, allocations: 83.69 kB / 1.029 GB, free: 5.871 MB / 0.7794 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.000913/0.6276, allocations: 0.9172 MB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006711/0.6283, allocations: 293.6 kB / 1.03 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.6283, allocations: 3.938 kB / 1.03 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.6285, allocations: 89.3 kB / 1.031 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.6289, allocations: 52.33 kB / 1.031 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.632, allocations: 2.59 MB / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.6323, allocations: 0.7597 MB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.6324, allocations: 29.92 kB / 1.034 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.6326, allocations: 95.39 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6326, allocations: 0 / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.399/1.032, allocations: 4.818 MB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/9.124, allocations: 17.73 kB / 1.039 GB, free: 12.2 MB / 0.795 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)