Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.351/2.351, allocations: 248.7 MB / 256.2 MB, free: 7.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 183.9 kB / 315.4 MB, free: 4 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.123/2.123, allocations: 205.3 MB / 0.5662 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 97.02 kB / 0.6704 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.143e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2183, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8924/1.111, allocations: 135.5 MB / 1.016 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/1.111, allocations: 91.25 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02225/1.133, allocations: 5.462 MB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.713e-06/1.134, allocations: 0 / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.742e-05/1.134, allocations: 8 kB / 1.022 GB, free: 14.62 MB / 0.6511 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.001231/1.135, allocations: 0.5426 MB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.299e-05/1.135, allocations: 11.97 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/1.135, allocations: 35.53 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/1.136, allocations: 305.1 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/1.136, allocations: 11.98 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/1.136, allocations: 15.91 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005369/1.136, allocations: 167.7 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/1.137, allocations: 244.3 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/1.137, allocations: 0 / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/1.137, allocations: 0 / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/1.137, allocations: 4 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/1.139, allocations: 1.056 MB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/1.14, allocations: 215.6 kB / 1.024 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/1.14, allocations: 85.48 kB / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/1.14, allocations: 15.86 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/1.14, allocations: 30.56 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 3.386e-06/1.14, allocations: 4 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0005778/1.141, allocations: 183.5 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/1.141, allocations: 77.11 kB / 1.025 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/1.141, allocations: 218 kB / 1.025 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/1.142, allocations: 25.7 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/1.142, allocations: 188 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/1.142, allocations: 58.36 kB / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/1.142, allocations: 0 / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.142, allocations: 337.5 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/1.142, allocations: 57.11 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/1.142, allocations: 88.25 kB / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/1.143, allocations: 75.61 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.143, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005644/1.143, allocations: 195.7 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/1.143, allocations: 181.8 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.143, allocations: 0 / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.143, allocations: 4 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/1.144, allocations: 59.34 kB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/1.144, allocations: 7.969 kB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/1.144, allocations: 35.84 kB / 1.026 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/1.144, allocations: 4 kB / 1.026 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.144, allocations: 4 kB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004296/1.145, allocations: 133.2 kB / 1.026 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/1.145, allocations: 0 / 1.026 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/1.145, allocations: 4 kB / 1.026 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/1.145, allocations: 51.06 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.145, allocations: 4 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/1.146, allocations: 23.83 kB / 1.026 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/1.146, allocations: 11.97 kB / 1.027 GB, free: 10.51 MB / 0.6511 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 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001656/1.146, allocations: 108.9 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00051/1.146, allocations: 175.8 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/1.146, allocations: 27.67 kB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/1.147, allocations: 199.9 kB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.147, allocations: 0 / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.147, allocations: 3.938 kB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/1.147, allocations: 3.984 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/1.148, allocations: 0.5691 MB / 1.028 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.148, allocations: 0 / 1.028 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/1.149, allocations: 54.94 kB / 1.028 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/1.149, allocations: 4 kB / 1.028 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/1.149, allocations: 3.938 kB / 1.028 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/1.149, allocations: 3.953 kB / 1.028 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.149, allocations: 7.984 kB / 1.028 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/1.15, allocations: 384.2 kB / 1.028 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/1.15, allocations: 103.9 kB / 1.028 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/1.15, allocations: 7.891 kB / 1.028 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/1.15, allocations: 27.97 kB / 1.028 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/1.151, allocations: 15.48 kB / 1.028 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/1.151, allocations: 8 kB / 1.028 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003021/1.151, allocations: 174.9 kB / 1.028 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.151, allocations: 0 / 1.028 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006632/1.152, allocations: 83.53 kB / 1.028 GB, free: 8.836 MB / 0.6511 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: 0 () * 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.001347/1.153, allocations: 1.006 MB / 1.029 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007281/1.154, allocations: 226.9 kB / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.154, allocations: 0 / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/1.154, allocations: 87.05 kB / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/1.155, allocations: 45.73 kB / 1.03 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.156, allocations: 389.8 kB / 1.03 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/1.157, allocations: 0.7723 MB / 1.031 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003939/1.157, allocations: 39.36 kB / 1.031 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/1.157, allocations: 94.72 kB / 1.031 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.158, allocations: 3.938 kB / 1.031 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04401/1.202, allocations: 4.712 MB / 1.036 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003686/1.202, allocations: 161.8 kB / 1.036 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.716, allocations: 0 / 1.036 GB, free: 1.535 MB / 0.6511 GB