Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 180.4 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 92.59 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 9.156 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.02977/0.2629, allocations: 39.18 MB / 0.9384 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.2769, allocations: 10.91 MB / 0.9491 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.2793, allocations: 51.62 kB / 0.9491 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.2813, allocations: 0.684 MB / 0.9498 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006225/0.2876, allocations: 2.205 MB / 0.9519 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.2913, allocations: 1.352 MB / 0.9533 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00742/0.2987, allocations: 7.236 MB / 0.9603 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006093/0.3048, allocations: 3.885 MB / 0.9641 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00713/0.312, allocations: 2.873 MB / 0.9669 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005416/0.3174, allocations: 2.459 MB / 0.9693 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0009525/0.3184, allocations: 188 kB / 0.9695 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/0.323, allocations: 1.112 MB / 0.9706 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.3244, allocations: 0.9342 MB / 0.9715 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.3266, allocations: 0.933 MB / 0.9724 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.008145/0.3348, allocations: 6.235 MB / 0.9785 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3348, allocations: 0 / 0.9785 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.476e-06/0.3348, allocations: 0 / 0.9785 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002521/0.3351, allocations: 0 / 0.9785 GB, free: 15.39 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.0117/0.3468, allocations: 4.491 MB / 0.9829 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.3469, allocations: 8.031 kB / 0.9829 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001629/0.3485, allocations: 425 kB / 0.9833 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007334/0.3559, allocations: 1.22 MB / 0.9845 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.3688, allocations: 4.695 MB / 0.9891 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.369, allocations: 225.7 kB / 0.9893 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008387/0.3699, allocations: 304 kB / 0.9896 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008053/0.3779, allocations: 4.384 MB / 0.9939 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.937e-05/0.378, allocations: 11.88 kB / 0.9939 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/0.3784, allocations: 120 kB / 0.994 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.3785, allocations: 145.5 kB / 0.9941 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006448/0.385, allocations: 3.788 MB / 0.9978 GB, free: 11.24 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03965/0.4247, allocations: 20.74 MB / 1.018 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.4285, allocations: 2.286 MB / 1.02 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000531/0.4291, allocations: 0.535 MB / 1.021 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.4292, allocations: 63.97 kB / 1.021 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=160): time 3.356e-06/0.4292, allocations: 0 / 1.021 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of matching and sorting (n=160): time 0.02789/0.4571, allocations: 6.177 MB / 1.027 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.4572, allocations: 68.72 kB / 1.027 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/0.4679, allocations: 3.559 MB / 1.03 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009404/0.4689, allocations: 65.7 kB / 1.031 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.4716, allocations: 1.747 MB / 1.032 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001413/0.473, allocations: 0.5468 MB / 1.033 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/0.4736, allocations: 44 kB / 1.033 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003571/0.474, allocations: 398.3 kB / 1.033 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004737/0.4787, allocations: 1.351 MB / 1.035 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005142/0.4839, allocations: 1.932 MB / 1.036 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00521/0.4891, allocations: 1.657 MB / 1.038 GB, free: 216 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-05/0.4892, allocations: 4 kB / 1.038 GB, free: 212 kB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.02055/0.5098, allocations: 4.931 MB / 1.043 GB, free: 11.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003502/0.5133, allocations: 6.217 MB / 1.049 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.746e-05/0.5134, allocations: 19.94 kB / 1.049 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01678/0.5302, allocations: 2.869 MB / 1.052 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/0.5328, allocations: 0.4953 MB / 1.052 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5411/1.074, allocations: 5.599 MB / 1.058 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005735/1.08, allocations: 0.5158 MB / 1.058 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005832/1.08, allocations: 112.3 kB / 1.058 GB, free: 136.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.08, allocations: 6.625 kB / 1.058 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01378/1.094, allocations: 4.618 MB / 1.063 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.859e-05/1.094, allocations: 14.06 kB / 1.063 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01627/1.111, allocations: 2.803 MB / 1.066 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/1.113, allocations: 472.8 kB / 1.066 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.124, allocations: 4.414 MB / 1.07 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/1.129, allocations: 478.7 kB / 1.071 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/1.129, allocations: 104.9 kB / 1.071 GB, free: 134.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 8,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.004037/1.133, allocations: 1.471 MB / 1.072 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/1.135, allocations: 319.3 kB / 1.073 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006199/1.141, allocations: 3.063 MB / 1.076 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/1.141, allocations: 18.16 kB / 1.076 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.141, allocations: 2.469 kB / 1.076 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003436/1.145, allocations: 2.498 MB / 1.078 GB, free: 134.1 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/1.159, allocations: 6.888 MB / 1.085 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/1.159, allocations: 0 / 1.085 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.16, allocations: 263.9 kB / 1.085 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002881/1.163, allocations: 0.9382 MB / 1.086 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/1.163, allocations: 42.55 kB / 1.086 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006902/1.17, allocations: 10.47 MB / 1.096 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.17, allocations: 3.781 kB / 1.096 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/1.176, allocations: 4.413 MB / 1.101 GB, free: 117.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00308/1.18, allocations: 0.8432 MB / 1.101 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.181, allocations: 39.8 kB / 1.101 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/1.184, allocations: 295.3 kB / 1.102 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/1.184, allocations: 113.8 kB / 1.102 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.184, allocations: 75.94 kB / 1.102 GB, free: 116.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003583/1.188, allocations: 2.492 MB / 1.104 GB, free: 114 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.188, allocations: 0 / 1.104 GB, free: 114 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00909/1.197, allocations: 2.291 MB / 1.107 GB, free: 111.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * 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 (118): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {5 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.00709/1.204, allocations: 5.499 MB / 1.112 GB, free: 106.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01681/1.221, allocations: 5.824 MB / 1.118 GB, free: 100.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.221, allocations: 0 / 1.118 GB, free: 100.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002689/1.224, allocations: 1.82 MB / 1.119 GB, free: 98.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008927/1.233, allocations: 1.845 MB / 1.121 GB, free: 96.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/1.253, allocations: 21.03 MB / 1.142 GB, free: 75.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/1.255, allocations: 3.018 MB / 1.145 GB, free: 72.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00468/1.26, allocations: 1.271 MB / 1.146 GB, free: 70.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/1.262, allocations: 1.507 MB / 1.147 GB, free: 69.44 MB / 0.698 GB Notification: Performance of SimCode: time 1.442e-06/1.262, allocations: 0 / 1.147 GB, free: 69.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1857/1.448, allocations: 117.8 MB / 1.262 GB, free: 252 kB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/1.448, allocations: 282 kB / 1.263 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.909/7.357, allocations: 0 / 1.263 GB, free: 15.89 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)