Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.478/0.478, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.000966, allocations: 94.39 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.624e-05, allocations: 4 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4833, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7902/1.274, allocations: 373.2 MB / 0.9248 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/1.274, allocations: 90.75 kB / 0.9249 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.083/8.357, allocations: 1.669 GB / 2.594 GB, free: 93.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.807e-06/8.357, allocations: 0 / 2.594 GB, free: 93.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001192/8.358, allocations: 114.7 kB / 2.594 GB, free: 93.97 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.01885/8.377, allocations: 3.883 MB / 2.598 GB, free: 92.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/8.377, allocations: 12.92 kB / 2.598 GB, free: 92.64 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002437/8.379, allocations: 419.1 kB / 2.598 GB, free: 92.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/8.391, allocations: 1.633 MB / 2.6 GB, free: 92.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04693/8.438, allocations: 18.31 MB / 2.618 GB, free: 91.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/8.439, allocations: 227.7 kB / 2.618 GB, free: 91.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/8.441, allocations: 305.5 kB / 2.618 GB, free: 91.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/8.453, allocations: 4.294 MB / 2.622 GB, free: 90.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.983e-05/8.453, allocations: 7.234 kB / 2.622 GB, free: 90.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005052/8.453, allocations: 131.6 kB / 2.622 GB, free: 90.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/8.453, allocations: 149.8 kB / 2.623 GB, free: 90.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006343/8.46, allocations: 3.677 MB / 2.626 GB, free: 90.63 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.0293/8.489, allocations: 20.07 MB / 2.646 GB, free: 80.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/8.493, allocations: 2.601 MB / 2.648 GB, free: 80.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/8.495, allocations: 1.283 MB / 2.65 GB, free: 80.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/8.496, allocations: 0.5428 MB / 2.65 GB, free: 80.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/8.496, allocations: 61.16 kB / 2.65 GB, free: 80.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=184): time 3.867e-06/8.496, allocations: 0 / 2.65 GB, free: 80.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=184): time 0.006334/8.502, allocations: 2.902 MB / 2.653 GB, free: 79.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/8.502, allocations: 76.97 kB / 2.653 GB, free: 79.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005441/8.507, allocations: 3.069 MB / 2.656 GB, free: 79.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0007413/8.508, allocations: 75.55 kB / 2.656 GB, free: 79.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001677/8.51, allocations: 1.76 MB / 2.658 GB, free: 78.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/8.511, allocations: 0.6381 MB / 2.658 GB, free: 78.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/8.511, allocations: 46.88 kB / 2.659 GB, free: 78.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001918/8.511, allocations: 413.1 kB / 2.659 GB, free: 78.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/8.513, allocations: 1.19 MB / 2.66 GB, free: 78.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/8.515, allocations: 1.87 MB / 2.662 GB, free: 77.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/8.517, allocations: 1.547 MB / 2.663 GB, free: 77.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/8.517, allocations: 3.781 kB / 2.663 GB, free: 77.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00778/8.525, allocations: 4.111 MB / 2.667 GB, free: 77.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001834/8.527, allocations: 7.283 MB / 2.675 GB, free: 69.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/8.527, allocations: 20.16 kB / 2.675 GB, free: 69.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006188/8.533, allocations: 1.455 MB / 2.676 GB, free: 69.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/8.536, allocations: 0.4894 MB / 2.676 GB, free: 69.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/8.541, allocations: 4.767 MB / 2.681 GB, free: 66.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005578/8.546, allocations: 451 kB / 2.682 GB, free: 66.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004149/8.547, allocations: 122.3 kB / 2.682 GB, free: 66.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/8.547, allocations: 5.219 kB / 2.682 GB, free: 66.68 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006595/8.553, allocations: 3.839 MB / 2.685 GB, free: 66.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/8.553, allocations: 15.66 kB / 2.685 GB, free: 66.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005568/8.559, allocations: 1.491 MB / 2.687 GB, free: 66.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/8.561, allocations: 480.7 kB / 2.687 GB, free: 66.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/8.565, allocations: 3.553 MB / 2.691 GB, free: 64.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/8.57, allocations: 382.1 kB / 2.691 GB, free: 64.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/8.57, allocations: 118.4 kB / 2.691 GB, free: 64.87 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 232 * 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 {4 7,5 50,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009115/8.571, allocations: 245.1 kB / 2.692 GB, free: 64.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/8.572, allocations: 337.4 kB / 2.692 GB, free: 64.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005444/8.578, allocations: 3.302 MB / 2.695 GB, free: 64.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/8.578, allocations: 24 kB / 2.695 GB, free: 64.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/8.578, allocations: 1.781 kB / 2.695 GB, free: 64.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003467/8.581, allocations: 2.688 MB / 2.698 GB, free: 64.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/8.594, allocations: 7.183 MB / 2.705 GB, free: 63.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/8.594, allocations: 1.281 kB / 2.705 GB, free: 63.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/8.595, allocations: 283.2 kB / 2.705 GB, free: 63.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003529/8.599, allocations: 1.105 MB / 2.706 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/8.599, allocations: 54.52 kB / 2.706 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006539/8.606, allocations: 10.03 MB / 2.716 GB, free: 55.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/8.606, allocations: 3.719 kB / 2.716 GB, free: 55.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007881/8.614, allocations: 4.815 MB / 2.721 GB, free: 54.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002871/8.617, allocations: 0.8421 MB / 2.721 GB, free: 54.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008067/8.617, allocations: 43.38 kB / 2.721 GB, free: 54.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/8.62, allocations: 230.3 kB / 2.722 GB, free: 54.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002977/8.62, allocations: 122.6 kB / 2.722 GB, free: 54.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/8.62, allocations: 92.95 kB / 2.722 GB, free: 54.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003592/8.624, allocations: 2.373 MB / 2.724 GB, free: 54.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/8.624, allocations: 0 / 2.724 GB, free: 54.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.008984/8.633, allocations: 2.282 MB / 2.726 GB, free: 54.18 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 127 * 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 60} Notification: Performance of Backend phase and start with SimCode phase: time 0.008642/8.642, allocations: 6.099 MB / 2.732 GB, free: 52.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01178/8.654, allocations: 5.326 MB / 2.738 GB, free: 50.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/8.654, allocations: 0 / 2.738 GB, free: 50.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002976/8.657, allocations: 1.868 MB / 2.739 GB, free: 49.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009533/8.666, allocations: 1.78 MB / 2.741 GB, free: 49.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/8.686, allocations: 7.766 MB / 2.749 GB, free: 46.63 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/8.689, allocations: 3.052 MB / 2.752 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.007798/8.697, allocations: 2.221 MB / 2.754 GB, free: 43.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002929/8.7, allocations: 1.469 MB / 2.755 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.563e-06/8.7, allocations: 0 / 2.755 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6166/9.316, allocations: 124.7 MB / 2.877 GB, free: 80.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/9.317, allocations: 231 kB / 2.877 GB, free: 80.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.633/14.95, allocations: 3.938 kB / 2.877 GB, free: 80.28 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)