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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 289.7 MB / 302.2 MB, free: 2.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.00152, allocations: 183.2 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009812/0.0009813, allocations: 94.64 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.744e-05/4.747e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3053, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9725/1.278, allocations: 141.3 MB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/1.278, allocations: 87.03 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01029/1.288, allocations: 4.537 MB / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.764e-06/1.288, allocations: 0 / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.871e-05/1.289, allocations: 4 kB / 1.122 GB, free: 40.51 MB / 0.7448 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.0008285/1.289, allocations: 0.5443 MB / 1.123 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.289, allocations: 8.031 kB / 1.123 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.431e-05/1.29, allocations: 59.16 kB / 1.123 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/1.29, allocations: 41.25 kB / 1.123 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/1.29, allocations: 287.2 kB / 1.123 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/1.29, allocations: 25.27 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/1.29, allocations: 22.81 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/1.291, allocations: 267.7 kB / 1.124 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.291, allocations: 0 / 1.124 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/1.291, allocations: 13.08 kB / 1.124 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/1.291, allocations: 8 kB / 1.124 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/1.291, allocations: 177.8 kB / 1.124 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/1.292, allocations: 0.9709 MB / 1.125 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/1.293, allocations: 280.1 kB / 1.125 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/1.293, allocations: 92.92 kB / 1.125 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/1.293, allocations: 4 kB / 1.125 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/1.293, allocations: 135.4 kB / 1.125 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/1.293, allocations: 0 / 1.125 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0003656/1.294, allocations: 193 kB / 1.125 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.294, allocations: 110.8 kB / 1.125 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/1.294, allocations: 258.7 kB / 1.126 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/1.294, allocations: 29.2 kB / 1.126 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.294, allocations: 169.2 kB / 1.126 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/1.294, allocations: 72.64 kB / 1.126 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-06/1.294, allocations: 0 / 1.126 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.382e-05/1.294, allocations: 343.1 kB / 1.126 GB, free: 37.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/1.295, allocations: 57.81 kB / 1.126 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/1.295, allocations: 101 kB / 1.126 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/1.295, allocations: 66 kB / 1.127 GB, free: 37.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.295, allocations: 3.938 kB / 1.127 GB, free: 37.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003023/1.295, allocations: 199.1 kB / 1.127 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/1.295, allocations: 189.3 kB / 1.127 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.295, allocations: 0 / 1.127 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/1.295, allocations: 1.875 kB / 1.127 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/1.295, allocations: 54.06 kB / 1.127 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.295, allocations: 2.844 kB / 1.127 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/1.296, allocations: 45.91 kB / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.296, allocations: 8.219 kB / 1.127 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.296, allocations: 4.938 kB / 1.127 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002366/1.296, allocations: 147 kB / 1.127 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-06/1.296, allocations: 0 / 1.127 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/1.296, allocations: 0 / 1.127 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/1.296, allocations: 46.27 kB / 1.127 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/1.296, allocations: 4.625 kB / 1.127 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/1.296, allocations: 38.53 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/1.296, allocations: 11.94 kB / 1.127 GB, free: 36.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.368e-05/1.296, allocations: 113.1 kB / 1.127 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/1.297, allocations: 36.78 kB / 1.127 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/1.297, allocations: 206.9 kB / 1.128 GB, free: 36.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.297, allocations: 4 kB / 1.128 GB, free: 36.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.297, allocations: 0.6875 kB / 1.128 GB, free: 36.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.297, allocations: 0.6562 kB / 1.128 GB, free: 36.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007434/1.298, allocations: 0.6629 MB / 1.128 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.298, allocations: 4 kB / 1.128 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/1.298, allocations: 53.89 kB / 1.128 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/1.298, allocations: 0 / 1.128 GB, free: 35.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/1.298, allocations: 7.375 kB / 1.128 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.298, allocations: 0 / 1.128 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.298, allocations: 0.5625 kB / 1.128 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/1.298, allocations: 411.9 kB / 1.129 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/1.299, allocations: 102.3 kB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/1.299, allocations: 6.203 kB / 1.129 GB, free: 35.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/1.299, allocations: 30.34 kB / 1.129 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/1.299, allocations: 13.52 kB / 1.129 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/1.299, allocations: 8.625 kB / 1.129 GB, free: 35.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001949/1.299, allocations: 212.2 kB / 1.129 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/1.299, allocations: 0 / 1.129 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003789/1.299, allocations: 98.91 kB / 1.129 GB, free: 35.1 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0006783/1.3, allocations: 1.01 MB / 1.13 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004195/1.301, allocations: 239 kB / 1.13 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.301, allocations: 0.8438 kB / 1.13 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/1.301, allocations: 84.89 kB / 1.13 GB, free: 33.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/1.301, allocations: 42.62 kB / 1.13 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000973/1.302, allocations: 416.2 kB / 1.131 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/1.302, allocations: 0.7704 MB / 1.132 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002091/1.303, allocations: 41.77 kB / 1.132 GB, free: 32.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/1.303, allocations: 94.28 kB / 1.132 GB, free: 32.8 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.303, allocations: 3.828 kB / 1.132 GB, free: 32.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/1.324, allocations: 5.39 MB / 1.137 GB, free: 29.74 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.324, allocations: 173.1 kB / 1.137 GB, free: 29.51 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.692, allocations: 0 / 1.137 GB, free: 29.51 MB / 0.7448 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)