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.00202/0.00202, allocations: 182.5 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5414/0.5414, allocations: 91.97 MB / 108.5 MB, free: 13.05 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.565/1.565, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 104.1 kB / 427.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 11.98 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1773, allocations: 72.31 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.322, allocations: 373.3 MB / 0.9335 GB, free: 93.41 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.322, allocations: 94.14 kB / 0.9336 GB, free: 93.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.874/7.196, allocations: 1.673 GB / 2.607 GB, free: 65.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.639e-06/7.196, allocations: 3.984 kB / 2.607 GB, free: 65.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0008259/7.197, allocations: 119 kB / 2.607 GB, free: 65.32 MB / 0.6198 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.0165/7.214, allocations: 4.744 MB / 2.611 GB, free: 62.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/7.214, allocations: 11.25 kB / 2.611 GB, free: 62.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001728/7.216, allocations: 425.1 kB / 2.612 GB, free: 61.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008614/7.224, allocations: 1.635 MB / 2.613 GB, free: 61.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04067/7.265, allocations: 18.43 MB / 2.631 GB, free: 44.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/7.265, allocations: 227.2 kB / 2.632 GB, free: 44.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009608/7.266, allocations: 309.4 kB / 2.632 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007024/7.273, allocations: 4.344 MB / 2.636 GB, free: 39.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.775e-05/7.273, allocations: 7.938 kB / 2.636 GB, free: 39.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000368/7.274, allocations: 126.4 kB / 2.636 GB, free: 39.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/7.274, allocations: 141.4 kB / 2.636 GB, free: 38.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005398/7.279, allocations: 3.761 MB / 2.64 GB, free: 35.18 MB / 0.6198 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.02536/7.305, allocations: 20.08 MB / 2.66 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/7.308, allocations: 2.631 MB / 2.662 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004396/7.308, allocations: 0.5461 MB / 2.663 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/7.308, allocations: 68.5 kB / 2.663 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=184): time 4.177e-06/7.308, allocations: 0 / 2.663 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=184): time 0.01844/7.327, allocations: 6.189 MB / 2.669 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/7.327, allocations: 77.36 kB / 2.669 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006888/7.334, allocations: 3.108 MB / 2.672 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006425/7.335, allocations: 73.69 kB / 2.672 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.4855/7.82, allocations: 1.754 MB / 2.674 GB, free: 74.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/7.822, allocations: 0.6305 MB / 2.674 GB, free: 73.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/7.822, allocations: 49.66 kB / 2.674 GB, free: 73.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002438/7.822, allocations: 405.3 kB / 2.675 GB, free: 73.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/7.825, allocations: 1.244 MB / 2.676 GB, free: 73.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/7.828, allocations: 1.918 MB / 2.678 GB, free: 72.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/7.831, allocations: 1.599 MB / 2.68 GB, free: 72.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/7.831, allocations: 4.844 kB / 2.68 GB, free: 72.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.009859/7.841, allocations: 4.239 MB / 2.684 GB, free: 72.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00163/7.843, allocations: 7.276 MB / 2.691 GB, free: 65.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/7.843, allocations: 18.94 kB / 2.691 GB, free: 65.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006879/7.85, allocations: 1.499 MB / 2.692 GB, free: 65.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/7.852, allocations: 0.4901 MB / 2.693 GB, free: 65.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/7.858, allocations: 4.864 MB / 2.697 GB, free: 62.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/7.863, allocations: 444.6 kB / 2.698 GB, free: 62.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003787/7.863, allocations: 124.1 kB / 2.698 GB, free: 62.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/7.863, allocations: 7.562 kB / 2.698 GB, free: 62.26 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007874/7.871, allocations: 3.955 MB / 2.702 GB, free: 62.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/7.871, allocations: 17.38 kB / 2.702 GB, free: 62.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006929/7.878, allocations: 1.534 MB / 2.703 GB, free: 62.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/7.881, allocations: 476.3 kB / 2.704 GB, free: 62.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/7.886, allocations: 3.647 MB / 2.707 GB, free: 60.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/7.891, allocations: 385.4 kB / 2.708 GB, free: 60.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/7.891, allocations: 123.2 kB / 2.708 GB, free: 60.51 MB / 0.6198 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 () * Number of clocked 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.003697/7.895, allocations: 1.498 MB / 2.709 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/7.896, allocations: 339.6 kB / 2.71 GB, free: 60.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006486/7.903, allocations: 3.336 MB / 2.713 GB, free: 59.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/7.903, allocations: 20.19 kB / 2.713 GB, free: 59.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/7.903, allocations: 1.5 kB / 2.713 GB, free: 59.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003854/7.907, allocations: 2.719 MB / 2.716 GB, free: 59.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/7.922, allocations: 7.159 MB / 2.723 GB, free: 59.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/7.922, allocations: 0 / 2.723 GB, free: 59.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/7.923, allocations: 282.2 kB / 2.723 GB, free: 59.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/7.926, allocations: 1.104 MB / 2.724 GB, free: 59.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/7.926, allocations: 47.12 kB / 2.724 GB, free: 59.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006549/7.933, allocations: 10.11 MB / 2.734 GB, free: 51.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/7.933, allocations: 0 / 2.734 GB, free: 51.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007396/7.94, allocations: 4.819 MB / 2.739 GB, free: 50.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002989/7.943, allocations: 0.8496 MB / 2.739 GB, free: 50.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000591/7.944, allocations: 40.47 kB / 2.739 GB, free: 50.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002175/7.946, allocations: 234.5 kB / 2.74 GB, free: 50.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/7.947, allocations: 118.5 kB / 2.74 GB, free: 50.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/7.947, allocations: 95.12 kB / 2.74 GB, free: 50.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003599/7.95, allocations: 2.406 MB / 2.742 GB, free: 50.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/7.95, allocations: 3.562 kB / 2.742 GB, free: 50.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.009012/7.959, allocations: 2.277 MB / 2.744 GB, free: 50.04 MB / 0.6198 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 (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.00863/7.968, allocations: 6.14 MB / 2.75 GB, free: 48.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01231/7.98, allocations: 5.347 MB / 2.756 GB, free: 48.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/7.98, allocations: 3.281 kB / 2.756 GB, free: 48.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002885/7.983, allocations: 1.899 MB / 2.758 GB, free: 48.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009057/7.992, allocations: 1.769 MB / 2.759 GB, free: 48.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/8.018, allocations: 22.96 MB / 2.782 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00349/8.022, allocations: 3.038 MB / 2.785 GB, free: 47.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.005212/8.027, allocations: 1.353 MB / 2.786 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002605/8.03, allocations: 1.531 MB / 2.787 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of SimCode: time 2.204e-06/8.03, allocations: 2.312 kB / 2.787 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1906/8.22, allocations: 118.1 MB / 2.903 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002959/8.221, allocations: 270.8 kB / 2.903 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.495/13.72, allocations: 3.234 kB / 2.903 GB, free: 10.7 MB / 0.6511 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)