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 2.581/2.581, allocations: 287.5 MB / 302.4 MB, free: 8.227 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.001364/0.001364, allocations: 192.7 kB / 371 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 2.084/2.084, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001287/0.001287, allocations: 94.77 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007417/0.000742, allocations: 15.03 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2825, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.08082/0.3634, allocations: 43.12 MB / 1.021 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03271/0.3962, allocations: 11.81 MB / 1.032 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00329/0.3995, allocations: 55.62 kB / 1.032 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003672/0.4033, allocations: 0.5434 MB / 1.033 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.414, allocations: 1.873 MB / 1.035 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006423/0.4205, allocations: 1.016 MB / 1.036 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03375/0.4542, allocations: 14.5 MB / 1.05 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01257/0.4669, allocations: 3.911 MB / 1.053 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01223/0.4792, allocations: 3.338 MB / 1.057 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.4907, allocations: 3.396 MB / 1.06 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002351/0.4931, allocations: 192 kB / 1.06 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009285/0.5024, allocations: 1.221 MB / 1.061 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003821/0.5063, allocations: 0.9922 MB / 1.062 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003872/0.5103, allocations: 0.9331 MB / 1.063 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.7808/1.291, allocations: 6.372 MB / 1.07 GB, free: 24.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.291, allocations: 1.281 kB / 1.07 GB, free: 24.58 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.208e-06/1.291, allocations: 0 / 1.07 GB, free: 24.58 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003193/1.292, allocations: 0.8125 kB / 1.07 GB, free: 24.58 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.01874/1.31, allocations: 4.525 MB / 1.074 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.31, allocations: 12.33 kB / 1.074 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002407/1.313, allocations: 422.2 kB / 1.074 GB, free: 22.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/1.327, allocations: 1.222 MB / 1.076 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02238/1.349, allocations: 5.288 MB / 1.081 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000503/1.35, allocations: 227.7 kB / 1.081 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/1.352, allocations: 303.6 kB / 1.081 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01735/1.369, allocations: 4.458 MB / 1.086 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/1.369, allocations: 7.781 kB / 1.086 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001426/1.371, allocations: 131.3 kB / 1.086 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002374/1.371, allocations: 135.6 kB / 1.086 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/1.385, allocations: 3.781 MB / 1.09 GB, free: 21.19 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.05411/1.439, allocations: 20.29 MB / 1.109 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005831/1.445, allocations: 2.208 MB / 1.112 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003363/1.448, allocations: 1.274 MB / 1.113 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007553/1.449, allocations: 0.5304 MB / 1.113 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003549/1.449, allocations: 61.33 kB / 1.113 GB, free: 26.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=160): time 4.699e-06/1.449, allocations: 0 / 1.113 GB, free: 26.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=160): time 0.04164/1.491, allocations: 6.096 MB / 1.119 GB, free: 25.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/1.491, allocations: 69.66 kB / 1.119 GB, free: 25.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008317/1.5, allocations: 3.08 MB / 1.122 GB, free: 25.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009464/1.501, allocations: 70.27 kB / 1.122 GB, free: 25.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002513/1.503, allocations: 1.742 MB / 1.124 GB, free: 24.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.504, allocations: 0.5514 MB / 1.125 GB, free: 23.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005042/1.505, allocations: 44.16 kB / 1.125 GB, free: 23.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003022/1.505, allocations: 399.8 kB / 1.125 GB, free: 23.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005806/1.511, allocations: 1.349 MB / 1.126 GB, free: 23.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006483/1.517, allocations: 1.933 MB / 1.128 GB, free: 22.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006453/1.524, allocations: 1.649 MB / 1.13 GB, free: 22.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-05/1.524, allocations: 5.594 kB / 1.13 GB, free: 22.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.02765/1.552, allocations: 4.909 MB / 1.135 GB, free: 20.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003668/1.552, allocations: 0.5274 MB / 1.135 GB, free: 20.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/1.552, allocations: 16.31 kB / 1.135 GB, free: 20.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02968/1.582, allocations: 2.871 MB / 1.138 GB, free: 19.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004489/1.586, allocations: 0.4911 MB / 1.139 GB, free: 19.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/1.606, allocations: 5.606 MB / 1.144 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007768/1.613, allocations: 456.5 kB / 1.144 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.614, allocations: 107.6 kB / 1.145 GB, free: 14.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.615, allocations: 3.188 kB / 1.145 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02352/1.638, allocations: 4.6 MB / 1.149 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/1.638, allocations: 11.81 kB / 1.149 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02706/1.665, allocations: 2.81 MB / 1.152 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/1.669, allocations: 458.3 kB / 1.152 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01825/1.687, allocations: 4.426 MB / 1.157 GB, free: 8.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006904/1.694, allocations: 409 kB / 1.157 GB, free: 7.848 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008593/1.695, allocations: 103.9 kB / 1.157 GB, free: 7.746 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.004532/1.7, allocations: 1.465 MB / 1.158 GB, free: 6.293 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001737/1.702, allocations: 324.1 kB / 1.159 GB, free: 5.973 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/1.712, allocations: 3.041 MB / 1.162 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-05/1.712, allocations: 16 kB / 1.162 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/1.712, allocations: 4 kB / 1.162 GB, free: 2.898 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007695/1.72, allocations: 2.471 MB / 1.164 GB, free: 420 kB / 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.02196/1.742, allocations: 6.647 MB / 1.171 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/1.742, allocations: 0 / 1.171 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/1.745, allocations: 298.2 kB / 1.171 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005355/1.75, allocations: 0.8664 MB / 1.172 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004481/1.751, allocations: 50.38 kB / 1.172 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/1.764, allocations: 9.979 MB / 1.182 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.764, allocations: 2.719 kB / 1.182 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.777, allocations: 4.306 MB / 1.186 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003787/1.781, allocations: 0.7425 MB / 1.187 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001795/1.783, allocations: 36 kB / 1.187 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005817/1.789, allocations: 263.6 kB / 1.187 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006004/1.789, allocations: 108.7 kB / 1.187 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004/1.79, allocations: 91.92 kB / 1.187 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005796/1.796, allocations: 2.129 MB / 1.189 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.423e-06/1.796, allocations: 2.25 kB / 1.189 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01175/1.807, allocations: 2.206 MB / 1.191 GB, free: 3.91 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.01461/1.822, allocations: 5.21 MB / 1.196 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.03401/1.856, allocations: 5.815 MB / 1.202 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.856, allocations: 0 / 1.202 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00524/1.861, allocations: 1.786 MB / 1.204 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01669/1.878, allocations: 1.845 MB / 1.206 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1155/1.994, allocations: 28.14 MB / 1.233 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004822/1.999, allocations: 2.946 MB / 1.236 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.007311/2.006, allocations: 1.254 MB / 1.237 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0038/2.01, allocations: 1.491 MB / 1.239 GB, free: 2.129 MB / 0.7761 GB Notification: Performance of SimCode: time 1.583e-06/2.01, allocations: 0 / 1.239 GB, free: 2.129 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.292/2.302, allocations: 116.7 MB / 1.353 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000422/2.302, allocations: 276.4 kB / 1.353 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/9.398, allocations: 3.938 kB / 1.353 GB, free: 14.04 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)