Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.674/1.674, allocations: 287.4 MB / 302.6 MB, free: 8.324 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.001072/0.001072, allocations: 188.7 kB / 371.1 MB, free: 10.84 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.757/1.757, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007964/0.0007964, allocations: 88.84 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004168, allocations: 11.47 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2567, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.03669/0.2935, allocations: 43.14 MB / 1.021 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.3121, allocations: 11.81 MB / 1.032 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.315, allocations: 51.62 kB / 1.032 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.3173, allocations: 0.5395 MB / 1.033 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007089/0.3244, allocations: 1.884 MB / 1.035 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.3283, allocations: 1.019 MB / 1.036 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01571/0.344, allocations: 14.55 MB / 1.05 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0073/0.3514, allocations: 4.583 MB / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008322/0.3597, allocations: 3.35 MB / 1.058 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007602/0.3674, allocations: 3.392 MB / 1.061 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.369, allocations: 196 kB / 1.061 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005812/0.3748, allocations: 1.225 MB / 1.062 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002258/0.3771, allocations: 0.9805 MB / 1.063 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.38, allocations: 0.9369 MB / 1.064 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5955/0.9755, allocations: 6.381 MB / 1.071 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.9756, allocations: 0 / 1.071 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.627e-06/0.9756, allocations: 0 / 1.071 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003563/0.9759, allocations: 0 / 1.071 GB, free: 25.26 MB / 0.6823 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.01598/0.9919, allocations: 4.478 MB / 1.075 GB, free: 23.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.992, allocations: 8.906 kB / 1.075 GB, free: 23.48 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002963/0.995, allocations: 425.8 kB / 1.075 GB, free: 23.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009905/1.005, allocations: 1.224 MB / 1.077 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01768/1.023, allocations: 5.405 MB / 1.082 GB, free: 22.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/1.023, allocations: 226.8 kB / 1.082 GB, free: 22.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002354/1.025, allocations: 307.6 kB / 1.082 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/1.038, allocations: 4.457 MB / 1.087 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.095e-05/1.039, allocations: 11.44 kB / 1.087 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005982/1.039, allocations: 126.6 kB / 1.087 GB, free: 21.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/1.039, allocations: 135.2 kB / 1.087 GB, free: 21.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009663/1.049, allocations: 3.784 MB / 1.091 GB, free: 21.76 MB / 0.6823 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.04002/1.089, allocations: 20.3 MB / 1.11 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003878/1.093, allocations: 2.207 MB / 1.113 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/1.095, allocations: 1.272 MB / 1.114 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/1.095, allocations: 0.53 MB / 1.114 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/1.096, allocations: 56.69 kB / 1.114 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=160): time 4.308e-06/1.096, allocations: 0 / 1.114 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.02304/1.119, allocations: 6.184 MB / 1.12 GB, free: 25.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/1.119, allocations: 70.36 kB / 1.121 GB, free: 25.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005943/1.125, allocations: 3.083 MB / 1.124 GB, free: 25.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.126, allocations: 70.33 kB / 1.124 GB, free: 25.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002451/1.128, allocations: 1.739 MB / 1.125 GB, free: 24.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/1.13, allocations: 0.5527 MB / 1.126 GB, free: 23.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/1.13, allocations: 44.5 kB / 1.126 GB, free: 23.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002815/1.13, allocations: 397 kB / 1.126 GB, free: 23.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003473/1.134, allocations: 1.346 MB / 1.128 GB, free: 23.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/1.137, allocations: 1.923 MB / 1.129 GB, free: 22.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005799/1.143, allocations: 3.007 MB / 1.132 GB, free: 21.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/1.143, allocations: 5.969 kB / 1.132 GB, free: 21.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01557/1.159, allocations: 4.926 MB / 1.137 GB, free: 20.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004578/1.159, allocations: 0.5225 MB / 1.138 GB, free: 19.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/1.159, allocations: 12.56 kB / 1.138 GB, free: 19.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01614/1.176, allocations: 2.877 MB / 1.141 GB, free: 18.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/1.178, allocations: 493.7 kB / 1.141 GB, free: 18.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/1.19, allocations: 5.614 MB / 1.147 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006093/1.196, allocations: 454.3 kB / 1.147 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008784/1.197, allocations: 105.9 kB / 1.147 GB, free: 13.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.197, allocations: 6.781 kB / 1.147 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01487/1.212, allocations: 4.595 MB / 1.152 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.097e-05/1.212, allocations: 19.8 kB / 1.152 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/1.227, allocations: 2.806 MB / 1.154 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/1.229, allocations: 464.3 kB / 1.155 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.24, allocations: 4.42 MB / 1.159 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005187/1.245, allocations: 403.4 kB / 1.159 GB, free: 6.145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007508/1.246, allocations: 108 kB / 1.16 GB, free: 6.039 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.004415/1.251, allocations: 1.473 MB / 1.161 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/1.253, allocations: 328.1 kB / 1.161 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007182/1.26, allocations: 3.027 MB / 1.164 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/1.26, allocations: 19.02 kB / 1.164 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/1.26, allocations: 4 kB / 1.164 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004276/1.264, allocations: 2.477 MB / 1.167 GB, free: 14.7 MB / 0.7136 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.01695/1.281, allocations: 6.653 MB / 1.173 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.281, allocations: 0 / 1.173 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.283, allocations: 291.6 kB / 1.173 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003087/1.286, allocations: 0.8771 MB / 1.174 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/1.286, allocations: 43.92 kB / 1.174 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008662/1.295, allocations: 9.971 MB / 1.184 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.295, allocations: 4 kB / 1.184 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007885/1.303, allocations: 4.327 MB / 1.188 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002973/1.306, allocations: 0.7348 MB / 1.189 GB, free: 7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/1.307, allocations: 32 kB / 1.189 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003595/1.311, allocations: 259.3 kB / 1.189 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/1.311, allocations: 113 kB / 1.189 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003319/1.311, allocations: 95.72 kB / 1.19 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00399/1.315, allocations: 2.129 MB / 1.192 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.71e-07/1.315, allocations: 0 / 1.192 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0108/1.326, allocations: 2.205 MB / 1.194 GB, free: 2.184 MB / 0.7292 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 (123): * Single equations (assignments): 113 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.01024/1.336, allocations: 5.204 MB / 1.199 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.019/1.355, allocations: 5.821 MB / 1.205 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.356, allocations: 0 / 1.205 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003263/1.359, allocations: 1.775 MB / 1.206 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/1.372, allocations: 1.822 MB / 1.208 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08446/1.456, allocations: 28.15 MB / 1.236 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004497/1.461, allocations: 2.944 MB / 1.238 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006331/1.467, allocations: 1.268 MB / 1.24 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003352/1.471, allocations: 1.479 MB / 1.241 GB, free: 444 kB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/1.471, allocations: 0 / 1.241 GB, free: 444 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8023/2.273, allocations: 116.8 MB / 1.355 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003999/2.274, allocations: 264.8 kB / 1.355 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.522/7.795, allocations: 3.938 kB / 1.355 GB, free: 12.19 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)